Resampler.transform(arg, *args, **kwargs) Call function producing a like-indexed Series on each group and return a Series with the transformed values
| Parameters: |
func : function To apply to each group. Should return a Series with the same index |
|---|---|
| Returns: |
transformed : Series |
>>> resampled.transform(lambda x: (x - x.mean()) / x.std())
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.tseries.resample.Resampler.transform.html