-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: set __module__ for Dtype and Index classes #59909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: set __module__ for Dtype and Index classes #59909
Conversation
… the set module decorator and decorating the class. Tested the modification by adding an assert statement to the already existing test_set_module test function
…pe ArrowDtype clasess by decorating them with the set module decorator. Tested the modification by adding an assert statement to the already existing test_set_module test function
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the slow follow-up, but this looks all good!
I just updated it with the latest main branch, fixed up CategoricalIndex (you added it to the tests, but didn't decorate that one) and ran our linting on the code.
@Amir-101 thanks again for the contribution!
Modified top-level name object for all Types class in the Dtype module by importing the set module decorator and decorating the class. Tested the modification by adding an assert statement to the already existing test_set_module test function
__module__
on top-level public objects #55178doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.