A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/reference/api/pandas.api.extensions.ExtensionArray._accumulate.html below:

pandas.api.extensions.ExtensionArray._accumulate — pandas 2.3.1 documentation

pandas.api.extensions.ExtensionArray._accumulate#
ExtensionArray._accumulate(name, *, skipna=True, **kwargs)[source]#

Return an ExtensionArray performing an accumulation operation.

The underlying data type might change.

Parameters:
namestr

Name of the function, supported values are: - cummin - cummax - cumsum - cumprod

skipnabool, default True

If True, skip NA values.

**kwargs

Additional keyword arguments passed to the accumulation function. Currently, there is no supported kwarg.

Returns:
array
Raises:
NotImplementedErrorsubclass does not define accumulations

Examples

>>> arr = pd.array([1, 2, 3])
>>> arr._accumulate(name='cumsum')
<IntegerArray>
[1, 3, 6]
Length: 3, dtype: Int64

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4