code: def execute(cls, ctx, op):
      out = op.outputs[0]
      inp = ctx[op.input_.key]
      index = None
      if op.index is not None:
          index = ctx[op.index.key]
      name = op.name or out.name
      ctx[out.key] = inp.to_series(index=index, name=name)
  
file_path: mars/mars/dataframe/datasource/from_index.py
imports: from ...None import opcodes
  from ...core import recursive_tile
  from ...serialization.serializables import AnyField, KeyField
  from ..initializer import Index
  from ..operands import DataFrameOperand, DataFrameOperandMixin
label_desc: Use image node_id 4 for calling the SeriesFromIndex obj's underlying member method code with example usage: obj.execute(cls, ctx, op) without return types