Skip to content

BUG: Series(pyarrow-backed).round raising AttributeError #50437

New issue

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

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

lukemanley
Copy link
Member

Adding ArrowExtensionArray.round to fix the following:

import pandas as pd

pd.Series([1.23], dtype="float64[pyarrow]").round(1)

# AttributeError: 'ArrowExtensionArray' object has no attribute 'round'

@lukemanley lukemanley added the Arrow pyarrow functionality label Dec 25, 2022
@mroeschke mroeschke added this to the 2.0 milestone Dec 27, 2022
@mroeschke mroeschke merged commit 2243b28 into pandas-dev:main Dec 27, 2022
@mroeschke
Copy link
Member

Thanks @lukemanley

@lukemanley lukemanley deleted the arrow-ea-round branch January 19, 2023 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants