Skip to content

ExtensionArray.Round method and tests#54582

Closed
andrewgsavage wants to merge 43 commits into
pandas-dev:mainfrom
andrewgsavage:round
Closed

ExtensionArray.Round method and tests#54582
andrewgsavage wants to merge 43 commits into
pandas-dev:mainfrom
andrewgsavage:round

Conversation

@andrewgsavage
Copy link
Copy Markdown

@andrewgsavage andrewgsavage commented Aug 16, 2023

This adds abstract round method in ExtensionOpsMixin to tell EA authors to implement round, and provides a round test.

@mroeschke mroeschke requested a review from jbrockmendel August 25, 2023 18:15
@mroeschke mroeschke added the ExtensionArray Extending pandas with custom dtypes or arrays. label Aug 25, 2023
Comment thread pandas/tests/extension/base/ops.py Outdated
Comment thread pandas/tests/extension/base/ops.py Outdated
Comment thread pandas/tests/extension/test_interval.py Outdated
Comment thread pandas/tests/extension/base/ops.py Outdated
Comment thread pandas/tests/extension/base/methods.py Outdated
Comment thread pandas/tests/extension/test_interval.py Outdated
Comment thread pandas/tests/extension/test_masked.py Outdated
Comment thread pandas/tests/extension/test_sparse.py Outdated
Comment thread pandas/core/arrays/base.py Outdated
Comment thread pandas/core/arrays/base.py Outdated
Comment thread pandas/tests/extension/test_arrow.py Outdated
@andrewgsavage
Copy link
Copy Markdown
Author

this is ready for review again

@kernstock
Copy link
Copy Markdown

Let's do this!

@mroeschke mroeschke requested a review from jbrockmendel April 23, 2024 17:58
@andrewgsavage
Copy link
Copy Markdown
Author

poke @jbrockmendel

@github-actions
Copy link
Copy Markdown
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions Bot added the Stale label Jun 17, 2025
Comment thread pandas/core/arrays/base.py Outdated
Comment thread pandas/tests/extension/base/methods.py Outdated
Comment thread doc/source/whatsnew/v3.0.0.rst Outdated

ExtensionArray
^^^^^^^^^^^^^^

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like accidental

@jbrockmendel
Copy link
Copy Markdown
Member

Couple small comments, otherwise LGTM. Thanks for your patience.

@jbrockmendel
Copy link
Copy Markdown
Member

@andrewgsavage can you rebase and address some small comments. Once you do I promise I'll either review promptly or feel really bad about it.

@jbrockmendel
Copy link
Copy Markdown
Member

Closing as stale, can reopen when you're ready to continue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ExtensionArray Extending pandas with custom dtypes or arrays. Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Series.round() expects ExtensionArray.round() to be implemented

4 participants