code: def setup(self, kwargs_window, method, pairwise):
      N = 10**4
      n_groups = 20
      kwargs, window = kwargs_window
      groups = [
          i for _ in range(N // n_groups) for i in range(n_groups)
      ]
      arr = np.random.random(N)
      self.df = pd.DataFrame(arr)
      self.window = getattr(self.df, window)(**kwargs)
      self.window_group = getattr(
          pd.DataFrame({"A": groups, "B": arr}).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 Pairwise obj's underlying member method code with example usage: obj.setup(kwargs_window, method, pairwise) without return types