polars.Expr.meta.is_known_length#
- Expr.meta.is_known_length() bool[source]#
Whether or not we can define output length.
- Output length we consider known:
column length
scalar
ranges
Examples
>>> e = pl.col("foo").sum() >>> e.meta.is_known_length() True >>> e = pl.col("foo").unique() >>> e.meta.is_known_length() False >>> e = pl.col("foo") * pl.col("bar") >>> e.meta.is_known_length() True