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