pandas.core.resample.Resampler.transform¶
- Resampler.transform(arg, *args, **kwargs)[source]¶
Call function producing a like-indexed Series on each group and return a Series with the transformed values.
- Parameters
- argfunction
To apply to each group. Should return a Series with the same index.
- Returns
- transformedSeries
Examples
>>> resampled.transform(lambda x: (x - x.mean()) / x.std())