-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE: dont' use pd.api.types anywhere in tests #39203
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
Comments
Hi @jreback! To make sure I get this right:
|
take |
Hi @nofarm3 - I haven't tried this yet but I think you'll need |
Thanks @MarcoGorelli ! |
How do you want the docstrings changed? In addition, IMO we should keep all occurrences in |
the request is to simply import infer_dtype rather than use the long form |
having a one off is -1 |
@jreback For example: I'll change it to be:
Or
I guess the first option is correct, am I right? |
@nofarm3 the fastest way to get feedback is usually to just open a pull request, even if you're not sure it's correct, reviewers can make suggestions there |
pls use the public api (2nd way) |
example here: https://github.com/pandas-dev/pandas/pull/37367/files#diff-69c698518ca64a05f8b137ff9bb5445ce9fd21139b396e9b0d4ce7338b2a3984R132
we should just ban this with a precommit style rule (and import things directly). the doc-strings also should be updated to do the import once.
The text was updated successfully, but these errors were encountered: