Rolling.apply(func, args=(), kwargs={}) [source]
rolling function apply
| Parameters: |
func : function Must produce a single value from an ndarray input *args and **kwargs are passed to the function |
|---|---|
| Returns: |
same type as input |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.core.window.Rolling.apply.html