code: def from_series(in_series, dtype=None):
      op = TensorFromDataFrame(
          dtype=dtype or in_series.dtype, gpu=in_series.op.gpu
      )
      return op(in_series, order=TensorOrder.F_ORDER)
  
file_path: mars/mars/tensor/datasource/from_dataframe.py
imports: from ...None import opcodes
  from ...serialization.serializables import BoolField, KeyField
  from ..utils import to_numpy
  from ..core import TensorOrder
  from .core import TensorHasInput
label_desc: Use image node_id 2 for calling a global function with example usage: from_series(in_series, dtype) and returns: op