-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Open
Labels
API DesignExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.
Description
The subclasses of ExtensionArray implemented within pandas can support various reductions, but many do not have specific reduction methods defined, e.g. .mean(). We should fill these out for better API consistency.
The only method that should be added to ExtensionArray itself is count, as this can be implemented for all EAs via ExtensionArray.isna.
I'm already working on this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
API DesignExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.