code: def __init__(
      self,
      window=None,
      min_periods=None,
      center=None,
      win_type=None,
      on=None,
      axis=None,
      closed=None,
      method=None,
      **kw,
  ):
      super().__init__(
          _window=window,
          _min_periods=min_periods,
          _center=center,
          _win_type=win_type,
          _on=on,
          _axis=axis,
          _closed=closed,
          _method=method,
          **kw,
      )
  
imports: from collections import OrderedDict
  from ....serialization.serializables import AnyField, Int64Field, BoolField, StringField, Int32Field
  from ....utils import pd_release_version
  from ...core import DATAFRAME_TYPE
  from ...utils import build_empty_df, build_empty_series, validate_axis
  from ..core import Window
label_desc: Use image node_id 1 to create a new Rolling object from inherited base classes: Window with example: obj = Rolling(window, min_periods, center, win_type, on, axis, closed, method)