Method: Polars::Functions#groups

Defined in:
lib/polars/functions/lazy.rb

#groups(column) ⇒ Object

Syntactic sugar for Polars.col("foo").agg_groups.

Returns:


1024
1025
1026
# File 'lib/polars/functions/lazy.rb', line 1024

def groups(column)
  col(column).agg_groups
end