code: def all_index(idx):
      use_inf_as_na = options.dataframe.mode.use_inf_as_na
      op = DataFrameAll(
          output_types=[OutputType.scalar], use_inf_as_na=use_inf_as_na
      )
      return op(idx)
  
file_path: mars/mars/dataframe/reduction/all.py
imports: import numpy
  import pandas
  from ...None import opcodes
  from ...config import options
  from ...core import OutputType
  from .core import DataFrameReductionOperand, DataFrameReductionMixin, recursive_tile, DATAFRAME_TYPE
label_desc: Use image node_id 3 for calling a global function with example usage: all_index(idx) and returns: op