polars.Series.is_last#

Series.is_last() Series[source]#

Return a boolean mask indicating the last occurrence of each distinct value.

Deprecated since version 0.19.3: This method has been renamed to Series.is_last_distinct().

Returns:
Series

Series of data type Boolean.