pandas.api.typing.Rolling.pipe

pandas 3.1.1 · Window operations · method

Pass the current object to a callable while staying in a method chain.

Call syntax

pd.api.typing.Rolling.pipe(func, *args, **kwargs)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
func Required
Positional or keyword
callable or tuple of (callable, str)

Supply a supported operation name or a callable, depending on this API.

*args Optional
Additional positional arguments
**kwargs Optional
Additional keyword arguments

Returns

Rolling