code: def setup(self, constructor, window_kwargs, dtype, method):
      N = 10**5
      window, kwargs = window_kwargs
      arr = (100 * np.random.random(N)).astype(dtype)
      obj = getattr(pd, constructor)(arr)
      self.window = getattr(obj, 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 Methods obj's underlying member method code with example usage: obj.setup(constructor, window_kwargs, dtype, method) without return types