-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionSubclassingSubclassing pandas objectsSubclassing pandas objectsmetadata_metadata, .attrs_metadata, .attrs
Description
We have some support for propagating metadata, but it is incomplete (38 xfails in tests/generic/test_finalize.py) for plain methods and has no real prospect for getting robust support for concat/merge etc.
At the same time, there is a real performance cost to calling __finalize__
everywhere, in an extreme case like #46505 these calls take up a quarter of the runtime.
AFAICT this is useful for a fraction of users and perf-hurting for everyone else. Do we have any idea how common it is to rely on these?
Metadata
Metadata
Assignees
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionSubclassingSubclassing pandas objectsSubclassing pandas objectsmetadata_metadata, .attrs_metadata, .attrs