class_docstr: Starts a new GroupBy operation.
class_docstr_tok: ["Starts","a","new","GroupBy","operation","."]
docstr: Utility class for performing a group by operation over the given DataFrame.
  
  Generated by calling `df.group_by(...)`.
  
  Parameters
  ----------
  df
      DataFrame to perform the group by operation over.
  by
      Column or columns to group by. Accepts expression input. Strings are parsed
      as column names.
  *more_by
      Additional columns to group by, specified as positional arguments.
  maintain_order
      Ensure that the order of the groups is consistent with the input data.
      This is slower than a default group by.
docstr_tok: ["Utility","class","for","performing","a","group","by","operation","over","the","given","DataFrame",".","Generated","by","calling","`","df.group_by","(","...",")","`",".","Parameters","--","--","--","--","--","df","DataFrame","to","perform","the","group","by","operation","over",".","by","Column","or","columns","to","group","by",".","Accepts","expression","input",".","Strings","are","parsed","as","column","names",".","*","more_by","Additional","columns","to","group","by",",","specified","as","positional","arguments",".","maintain_order","Ensure","that","the","order","of","the","groups","is","consistent","with","the","input","data",".","This","is","slower","than","a","default","group","by","."]
code: def __init__(
      self,
      df: DataFrame,
      by: IntoExpr | Iterable[IntoExpr],
      *more_by: IntoExpr,
      maintain_order: bool,
  ):
      """
      Utility class for performing a group by operation over the given DataFrame.
  
      Generated by calling `df.group_by(...)`.
  
      Parameters
      ----------
      df
          DataFrame to perform the group by operation over.
      by
          Column or columns to group by. Accepts expression input. Strings are parsed
          as column names.
      *more_by
          Additional columns to group by, specified as positional arguments.
      maintain_order
          Ensure that the order of the groups is consistent with the input data.
          This is slower than a default group by.
  
      """
      self.df = df
      self.by = by
      self.more_by = more_by
      self.maintain_order = maintain_order
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Callable, Iterable, Iterator
  import polars._reexport
  from polars import functions
  from polars.utils.convert import _timedelta_to_pl_duration
  from polars.utils.deprecation import deprecate_renamed_function
label_desc: Use image node_id 1 to create a new GroupBy object  with example: obj = GroupBy(df, by)