On this page
pandas.core.window.Rolling.apply
Rolling.apply(func, args=(), kwargs={})
-
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.
https://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.core.window.Rolling.apply.html