Skip to content

Conversation

phofl
Copy link
Member

@phofl phofl commented Mar 16, 2023

I didn't check here when setting copy=False earlier

Follow-up on #51834. This keeps copy=False internally where necessary, to avoid unnecessary copies as a side-effect of #51731 (by default copying numpy arrays in the DataFrame constructor) and #52022 (same for Series)

@phofl phofl added this to the 2.0 milestone Mar 16, 2023
@jorisvandenbossche jorisvandenbossche changed the title CoW: Set copy=False explicitly internally for Series and DataFrame CoW: Set copy=False explicitly internally for Series and DataFrame in io/pytables Mar 17, 2023
@jorisvandenbossche jorisvandenbossche merged commit 48e600b into pandas-dev:main Mar 17, 2023
@phofl phofl deleted the cow_copy_false_explicitly branch March 17, 2023 15:09
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Mar 17, 2023
phofl added a commit that referenced this pull request Mar 17, 2023
…ternally for Series and DataFrame in io/pytables) (#52049)

Backport PR #52032: CoW: Set copy=False explicitly internally for Series and DataFrame in io/pytables

Co-authored-by: Patrick Hoefler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants