polars.groups# polars.groups(column: str) → Expr[source]# Syntactic sugar for pl.col("foo").agg_groups(). Deprecated since version 1.35: Use df.with_row_index().group_by(...).agg(pl.col('index')) instead. This method will be removed in Polars 2.0.