polars.Expr.is_first#
- Expr.is_first() Self [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
Expr.is_first_distinct()
.- Returns:
- Expr
Expression of data type
Boolean
.