Resampler.transform(self, arg, *args, **kwargs)
[source]
Call function producing a like-indexed Series on each group and return a Series with the transformed values.
Parameters: |
|
---|---|
Returns: |
|
>>> resampled.transform(lambda x: (x - x.mean()) / x.std())
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.core.resample.Resampler.transform.html