Skip to content

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

Merged
merged 9 commits into from
Nov 29, 2022
Merged

Conversation

bang128
Copy link
Contributor

@bang128 bang128 commented Nov 29, 2022

@@ -4,7 +4,7 @@
import collections
import datetime as dt
import gc
import json
import json as js
Copy link
Member

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?

Copy link
Contributor Author

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

missing,
missing as miss,
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

@MarcoGorelli MarcoGorelli left a 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

@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Nov 29, 2022
@MarcoGorelli MarcoGorelli added this to the 2.0 milestone Nov 29, 2022
Copy link
Member

@MarcoGorelli MarcoGorelli left a 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 !

@bang128
Copy link
Contributor Author

bang128 commented Nov 29, 2022

@MarcoGorelli I am very glad to help

@MarcoGorelli MarcoGorelli merged commit 4d0a436 into pandas-dev:main Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STYLE enable pylint's redefined-outer-name
2 participants