class_docstr: Represents data from pandas Series
class_docstr_tok: ["Represents","data","from","pandas","Series"]
code: def __init__(self, data=None, dtype=None, gpu=None, **kw):
      if dtype is None and data is not None:
          dtype = data.dtype
      if gpu is None and is_cudf(data):  # pragma: no cover
          gpu = True
      super().__init__(
          data=data,
          dtype=dtype,
          gpu=gpu,
          _output_types=[OutputType.series],
          **kw,
      )
  
file_path: mars/mars/dataframe/datasource/series.py
imports: import itertools
  from ...None import opcodes
  from ...serialization.serializables import SeriesField, DataTypeField
  from ...config import options
  from ...core import OutputType
  from ...tensor.utils import get_chunk_slices
  from ..operands import DataFrameOperand, DataFrameOperandMixin
  from ..utils import parse_index, decide_series_chunk_size, is_cudf
label_desc: Use image node_id 1 to create a new SeriesDataSource object from inherited base classes: DataFrameOperand, DataFrameOperandMixin with example: obj = SeriesDataSource(data, dtype, gpu)