code: def setup(self, method, window_kwargs):
      N = 1000
      window, kwargs = window_kwargs
      df = pd.DataFrame(
          {
              "A": [str(i) for i in range(N)] * 10,
              "B": list(range(N)) * 10,
          }
      )
      if isinstance(kwargs.get("window", None), str):
          df.index = pd.date_range(
              start="1900-01-01", freq="1min", periods=N * 10
          )
      self.groupby_window = getattr(df.groupby("A"), window)(**kwargs)
  
imports: import warnings
  import numpy
  import pandas
  from .pandas_vb_common import setup
label_desc: Use image node_id 1 for calling the Groupby obj's underlying member method code with example usage: obj.setup(method, window_kwargs) without return types