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