def transform(self, arg, *args, **kwargs):
        return self._selected_obj.groupby(self.groupby).transform(
            arg, *args, **kwargs)
Call function producing a like-indexed Series on each group and return
dataset/ETHPy150Open pydata/pandas/pandas/tseries/resample.py/Resampler.transform