code: def __init__(self, groupDateTime, value, aggfun):
      super(AggFunGrouper, self).__init__(groupDateTime)
      self.__values = [value]
      self.__aggfun = aggfun
  
imports: import abc
  import six
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
  from pyalgotrade import bar
  from pyalgotrade import resamplebase
label_desc: Use image node_id 1 to create a new AggFunGrouper object from inherited base classes: resamplebase with example: obj = AggFunGrouper(groupDateTime, value, aggfun)