-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Closed
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionPerformanceMemory or execution speed performanceMemory or execution speed performance
Description
xref #33364
A lot of the overhead in is_foo_dtype (which we call a lot) comes from checking for dtype objects, arrays, and strings. We could tighten these to be e.g.
def is_extension_arrray_dtype(obj):
return isinstance(obj, ExtensionDtype)
The trouble with this is some of these are user-facing, so this would require a deprecation cycle, and in the interim the warnings
call would actually hurt performance.
jorisvandenbossche
Metadata
Metadata
Assignees
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionPerformanceMemory or execution speed performanceMemory or execution speed performance