Skip to content

Conversation

@jbrockmendel
Copy link
Member

I'm open to suggestions on names.


@property
def dtype(self) -> PandasDtype:
def dtype(self) -> NumpyEADtype:
Copy link
Member

Choose a reason for hiding this comment

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

Would be good to note that the returned dtype has changed too

Copy link
Member Author

Choose a reason for hiding this comment

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

sure. thoughts on the name NumpyEADtype? i was torn between wanting parity with ArrowDtype vs confusion with np.dtype

Copy link
Member

Choose a reason for hiding this comment

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

IMO NumpyEADtype sounds good

@mroeschke mroeschke added the ExtensionArray Extending pandas with custom dtypes or arrays. label Jul 13, 2023
@mroeschke mroeschke added this to the 2.1 milestone Jul 18, 2023
@mroeschke mroeschke merged commit 3713834 into pandas-dev:main Jul 18, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API: rename PandasArray -> NumpyExtensionArray

2 participants