Skip to content
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

TST: avoid chained assignment in tests outside of specific tests on chaining #46980

Merged
merged 1 commit into from
May 10, 2022

Conversation

jorisvandenbossche
Copy link
Member

A small part of the test changes from #46958 that can be done separately.

We have specific tests about chained indexing (eg test_chaining_and_caching.py), so outside those specific tests, I can think we can avoid using chained indexing (regardless of #46958, this would follow our own recommendation on best indexing practices, although it also shows that some cases of mixed positional/label based setting is somewhat convoluted)

@jorisvandenbossche jorisvandenbossche added the Testing pandas testing functions or related to the test suite label May 9, 2022
@jreback jreback added this to the 1.5 milestone May 10, 2022
@jreback jreback merged commit 04e01a1 into pandas-dev:main May 10, 2022
@jreback
Copy link
Contributor

jreback commented May 10, 2022

thanks @jorisvandenbossche

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants