polars.Series.is_first#
- Series.is_first() Series [source]#
Return a boolean mask indicating the first occurrence of each distinct value.
Deprecated since version 0.19.3: This method has been renamed to
Series.is_first_distinct()
.- Returns:
- Series
Series of data type
Boolean
.