class_docstr: Distributor using a multiprocessing Pool to calculate the jobs in parallel on the local machine.
class_docstr_tok: ["Distributor","using","a","multiprocessing","Pool","to","calculate","the","jobs","in","parallel","on","the","local","machine","."]
docstr: Collects the result from the workers and closes the thread pool.
docstr_tok: ["Collects","the","result","from","the","workers","and","closes","the","thread","pool","."]
code: def close(self):
      """
      Collects the result from the workers and closes the thread pool.
      """
      self.pool.close()
      self.pool.terminate()
      self.pool.join()
  
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 3 for calling the MultiprocessingDistributor obj's underlying member method code with example usage: obj.close() without return types