code: def map_batches(
      self, df, map_fn, enable_tensor_extension_casting=True
  ):
      return map_fn(df)
  
imports: import os
  import numpy
  import pandas
  from ludwig.data.dataframe.base import DataFrameEngine
  from ludwig.globals import PREDICTIONS_SHAPES_FILE_NAME
  from ludwig.utils.data_utils import load_json, save_json, split_by_slices
  from ludwig.utils.dataframe_utils import flatten_df, unflatten_df
label_desc: Use image node_id 9 for calling the PandasEngine obj's underlying member method code with example usage: obj.map_batches(df, map_fn, enable_tensor_extension_casting) and returns: map_fn