-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE: dont use pd api types in tests #39293
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: dont use pd api types in tests #39293
Conversation
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.
lgtm. one comment. ping on green. you can add a precommit rule in this PR or as a followup.
Thanks @nofarm3
Any chance this could be done in the same PR, so that it can be seen to be fixed? This is analogous to adding tests in the same PR in which one fixes a bug |
@MarcoGorelli |
sure - do ask if it's not something you're familiar with, I think it should be enough to just add a line to the |
@MarcoGorelli |
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, thanks @nofarm3 ! Just one small comment, then I think it's good to go
* CLN: avoid pd import in computation/expr.py * CLN: avoid pd import in computation/pytables
…aligned + fallback to <1.2.0 behaviour (pandas-dev#39239)
…s-in-tests' into issue-39203-dont-use-pd-api-types-in-tests # Conflicts: # .pre-commit-config.yaml
thanks @nofarm3 |
I didn't add a whatsnew entry since it's only style fixes.
I'll open a new issue regarding @jreback suggestion to ban this with a precommit style rule.
I prefer it to be done in a different PR.