ENH: Select numeric ExtensionDtypes with DataFrame.select_dtypes #35340
Labels
Dtype Conversions
Unexpected or buggy dtype conversions
ExtensionArray
Extending pandas with custom dtypes or arrays.
Milestone
Is your feature request related to a problem?
I would like to plot ExtensionArrays. DataFrame.select_dtypes(np.number) is called when plotting, which filters out ExtensionArrays.
Describe the solution you'd like
DataFrame.select_dtypes(np.number) should select columns where ExtensionDtype._is_numeric is True, suggested here #26173 (comment)
API breaking implications
Not considered.
Describe alternatives you've considered
Not considered.
Additional context
N/A
The text was updated successfully, but these errors were encountered: