polars.Expr.list.count_match#

Expr.list.count_match(element: IntoExpr) Expr[source]#

Count how often the value produced by element occurs.

Deprecated since version 0.19.3: This method has been renamed to count_matches().

Parameters:
element

An expression that produces a single value