Skip to content

Conversation

@cmp0xff
Copy link
Contributor

@cmp0xff cmp0xff commented Nov 18, 2025

This is a PR simpler than #1469 which focuses more on adding FloatingArray.

I have made many more categories for the DtypeArgs, because of the following reasons:

  • Only Pandas dtypes are relevant for making a FloatingArray. Native and Numpy dtypes lead to a NumpyExtensionArray, and PyArrow dtypes lead to an ArrowExtensionArray, if not ArrowStringArray

  • Pandas supports more dtypes in astype than in constructors

  • Index does not support np.float16

  • Closes FloatingArray documented but missing from stubs #1428

  • Tests added

@cmp0xff cmp0xff requested a review from Dr-Irv November 18, 2025 14:18
@cmp0xff cmp0xff force-pushed the feature/floating-array branch from b5454cb to ee8615a Compare November 20, 2025 21:36
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @cmp0xff

@Dr-Irv Dr-Irv merged commit 28f16e9 into pandas-dev:main Nov 25, 2025
16 checks passed
@cmp0xff cmp0xff deleted the feature/floating-array branch November 25, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FloatingArray documented but missing from stubs

2 participants