-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorAPI DesignEnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.
Description
We have a few extension arrays that build off one or more ndarrays. You'll often want to get the underlying NumPy dtype for that array.
- IntegerArray uses
.type
- IntervalArray uses
.subtype
IntervalArray can't use .type
, since that has to be Interval
. So IntegerArray will need to alias subtype to type.
Are we happy with the name subtype
?
Metadata
Metadata
Assignees
Labels
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorAPI DesignEnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.