polars.count

polars.count(column: str) polars.internals.expr.Expr
polars.count(column: polars.internals.series.Series) int
polars.count(column: None = None) polars.internals.expr.Expr

Count the number of values in this column/context.

Parameters
column
If dtype is:

pl.Series -> count the values in the series str -> count the values in this column None -> count the number of values in this context