Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this issue exists on the latest version of pandas.
[X] I have confirmed this issue exists on the master branch of pandas.
Reproducible Example
👋 Hello there!
I've found quite some classes declaring __slots__ whose bases classes do not. This negates some of the performance benefits. Fixing this should be a relatively easy performance win.
After some experimentation I've found it's not quite as easy as adding __slots__ = () to the bases classes. But, it should still be relatively simple.
Pandas version checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this issue exists on the latest version of pandas.
[X] I have confirmed this issue exists on the master branch of pandas.
Reproducible Example
👋 Hello there!
I've found quite some classes declaring
__slots__
whose bases classes do not. This negates some of the performance benefits. Fixing this should be a relatively easy performance win.After some experimentation I've found it's not quite as easy as adding
__slots__ = ()
to the bases classes. But, it should still be relatively simple.List of affected classes I could find:
Installed Versions
n/a
Prior Performance
No response