def group_by(self, func):
        return self._transform(transformations.group_by_t(func))
Group elements into a list of (Key, Value) tuples where func creates the key and maps
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.group_by