code: def map_reduce(
      self,
      map_function,
      data,
      function_kwargs=None,
      chunk_size=None,
      data_length=None,
  ):
      return data.apply(map_function, meta=self.meta, **function_kwargs)
  
imports: import itertools
  import math
  import warnings
  from collections.abc import Generator, Iterable
  from functools import partial
  from itertools import islice, repeat, takewhile
  from multiprocessing import Pool
  from tqdm import tqdm
  from tsfresh.feature_extraction.data import TsData
label_desc: Use image node_id 2 for calling the ApplyDistributor obj's underlying member method code with example usage: obj.map_reduce(map_function, data, function_kwargs, chunk_size, data_length) and returns: data