code: def __init__(self, obj, by, axis=None, kind=None):
      by = _ResampleGrouping(obj, by)
      super().__init__(obj, by=by)
  
imports: import pickle
  import numpy
  import pandas
  import cudf
  import cudf._lib.labeling
  import cudf.core.index
  from cudf._typing import DataFrameOrSeries
  from cudf.core.groupby.groupby import DataFrameGroupBy, GroupBy, SeriesGroupBy, _Grouping
  from cudf.core.tools.datetimes import _offset_alias_to_code, _unit_dtype_map
label_desc: Use image node_id 1 to create a new _Resampler object from inherited base classes: GroupBy with example: obj = _Resampler(obj, by, axis, kind)