-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE: #49656 - generic.py #49960
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
STYLE: #49656 - generic.py #49960
Conversation
pandas/core/generic.py
Outdated
@@ -4,7 +4,7 @@ | |||
import collections | |||
import datetime as dt | |||
import gc | |||
import json | |||
import json as js |
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.
this is non-standard and not obvious - does it work to just import the functions from json, so from json import loads, jumps
and then use those directly?
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.
I have changed it based on your request
pandas/core/generic.py
Outdated
missing, | ||
missing as miss, |
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.
does it work to just directly import the methods you need from pandas.core.missing
?
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.
I have changed it based on your request
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.
thanks @bang128 - can you run the pre-commit checks too please? check the contributing guide for how
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.
Nice work, thanks @bang128 !
@MarcoGorelli I am very glad to help |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.