code: def obj(self, frame_or_series):
      if frame_or_series is Series:
          arr = np.random.default_rng(2).standard_normal(10)
      else:
          arr = np.random.default_rng(2).standard_normal((10, 10))
      return frame_or_series(arr, dtype=None)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Index, Series
  import pandas._testing
  import pandas.core.common
label_desc: Use image node_id 1 for calling the TestSample obj's underlying member method code with example usage: obj.obj(frame_or_series) and returns: frame_or_series