code: def __init__(
      self,
      data,
      index=None,
      dtype=None,
      name=None,
      copy=False,
      fastpath=False,
      columns=None,
      *args,
      **kwargs,
  ):
      super().__init__(
          data,
          index,
          columns=None,
          dtype=dtype,
          name=name,
          copy=copy,
          *args,
          **kwargs,
      )
      assert self.array.ndim == 1, "Series Data must be 1-dimensional"
  
file_path: ivy/ivy/functional/frontends/pandas/series.py
imports: import ivy
  from .generic import NDFrame
label_desc: Use image node_id 1 to create a new Series object from inherited base classes: NDFrame with example: obj = Series(data, index, dtype, name, copy, fastpath, columns)