def reduce_by_key(self, func):
        return self._transform(transformations.reduce_by_key_t(func))
Reduces a sequence of (Key, Value) using func on each sequence of values.
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.reduce_by_key