class_docstr: Class for the purpose of preprocessing time series.
  
  The method make_features needs to be custom-made by inherited classes.
class_docstr_tok: ["Class","for","the","purpose","of","preprocessing","time","series",".","The","method","make_features","needs","to","be","custom-made","by","inherited","classes","."]
code: def infer_cardinalities(self, ts_list):
      raise NotImplementedError
  
imports: import concurrent.futures
  import logging
  from enum import Enum
  from itertools import chain, starmap
  from typing import Dict, List, Tuple, Union, Optional, Sequence
  import numpy
  from gluonts.core.component import validated
label_desc: Use image node_id 7 for calling the PreprocessGeneric obj's underlying member method code with example usage: obj.infer_cardinalities(ts_list) without return types