class_docstr: Aggregator instance which uses the passed aggregation func.
  
  !!! warning
  
      The user has total control which `aggregation_func` is passed to this method,
      hence the user should be careful to not make copies of the data, nor write to
      the data. Furthermore, the user should beware of performance issues when
      using more complex aggregation functions.
  
  !!! warning "Attention"
  
      The user has total control which `aggregation_func` is passed to this method,
      hence it is the users' responsibility to handle categorical and bool-based
      data types.
class_docstr_tok: ["Aggregator","instance","which","uses","the","passed","aggregation","func",".","!","!","!","warning","The","user","has","total","control","which","`","aggregation_func","`","is","passed","to","this","method",",","hence","the","user","should","be","careful","to","not","make","copies","of","the","data",",","nor","write","to","the","data",".","Furthermore",",","the","user","should","beware","of","performance","issues","when","using","more","complex","aggregation","functions",".","!","!","!","warning","``","Attention","''","The","user","has","total","control","which","`","aggregation_func","`","is","passed","to","this","method",",","hence","it","is","the","users","'","responsibility","to","handle","categorical","and","bool-based","data","types","."]
docstr: Parameters
  ----------
  aggregation_func: Callable
      The aggregation function which will be applied on each pin.
docstr_tok: ["Parameters","--","--","--","--","--","aggregation_func",":","Callable","The","aggregation","function","which","will","be","applied","on","each","pin","."]
code: def __init__(
      self,
      aggregation_func,
      x_dtype_regex_list=None,
      y_dtype_regex_list=None,
      **downsample_kwargs,
  ):
      """
      Parameters
      ----------
      aggregation_func: Callable
          The aggregation function which will be applied on each pin.
  
      """
      self.aggregation_func = aggregation_func
      super().__init__(
          x_dtype_regex_list, y_dtype_regex_list, **downsample_kwargs
      )
  
imports: from __future__ import annotations
  import math
  from typing import Tuple
  import numpy
  from tsdownsample import EveryNthDownsampler, LTTBDownsampler, MinMaxDownsampler, MinMaxLTTBDownsampler
  from ..aggregation.aggregation_interface import DataAggregator, DataPointSelector
label_desc: Use image node_id 1 to create a new FuncAggregator object from inherited base classes: DataAggregator with example: obj = FuncAggregator(aggregation_func, x_dtype_regex_list, y_dtype_regex_list)