We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
ser = pd.Series({ 1: 1., 2: 2. }) ser = ser.astype('float[pyarrow]') ser.cumprod()
Cumprod failing, issue or cumprod only meant to be used with np?
File ~/.pyenv/versions/3.10.6/lib/python3.10/site-packages/pandas/core/arrays/base.py:1406, in ExtensionArray._accumulate(self, name, skipna, **kwargs) 1376 def _accumulate( 1377 self, name: str, *, skipna: bool = True, **kwargs 1378 ) -> ExtensionArray: 1379 """ 1380 Return an ExtensionArray performing an accumulation operation. 1381 (...) 1404 NotImplementedError : subclass does not define accumulations 1405 """ -> 1406 raise NotImplementedError(f"cannot perform {name} with type {self.dtype}") NotImplementedError: cannot perform cumprod with type float[pyarrow]
Cumprod result.
The text was updated successfully, but these errors were encountered:
Hi, thanks for your report. This isn't implemented on the arrow side yet.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Cumprod failing, issue or cumprod only meant to be used with np?
Expected Behavior
Cumprod result.
Installed Versions
The text was updated successfully, but these errors were encountered: