Skip to content

TST/CoW: copy-on-write tests for df.head and df.tail #49963

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 4 commits into from
Dec 1, 2022

Conversation

seljaks
Copy link
Contributor

@seljaks seljaks commented Nov 29, 2022

Progress towards #49473
Because .head() and .tail() use .iloc under the hood, copy-on-write is already implemented for them, but this PR adds explicit tests for both methods.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Copy / view semantics labels Dec 1, 2022
@mroeschke mroeschke added this to the 2.0 milestone Dec 1, 2022
@mroeschke mroeschke merged commit 176621a into pandas-dev:main Dec 1, 2022
@mroeschke
Copy link
Member

Thanks @seljaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copy / view semantics 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