pandas.api.extensions.ExtensionArray._accumulate

pandas 3.1.1 · Extensions · method

Implement a cumulative operation such as cumsum for a custom extension array.

Call syntax

pd.api.extensions.ExtensionArray._accumulate(name, *, skipna=True, **kwargs)

Run the example

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

Parameters

ParameterRequirementAccepted values and behavior
name Required
Positional or keyword
str

Set a name or identify the named object used by the operation.

skipna Optional
Keyword only
Default True
bool

Choose whether to exclude missing values during the calculation.

**kwargs Optional
Additional keyword arguments

Returns

array