code: def fun_either(data: Union[pd.Series, pd.DataFrame]) -> str:
      return f"i am a {data.__class__.__name__}"
  
file_path: tslumen/tests/unit/profile/test_base.py
imports: import pytest
  from typing import Union
  from dataclasses import is_dataclass
  from datetime import datetime
  import pandas
  from tslumen.profile.base import ProfileException, ProfileResult, ProfilingFunction, BundledProfiler, BundledResult, valid_timeseries
label_desc: Use image node_id 7 for calling a global function with example usage: fun_either(data) and returns: str, data