Skip to content

Backport PR #53189 on branch 2.0.x (BUG/CoW: Series.rename not making a lazy copy when passed a scalar) #53221

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

Conversation

meeseeksmachine
Copy link
Contributor

Backport PR #53189: BUG/CoW: Series.rename not making a lazy copy when passed a scalar

@lumberbot-app lumberbot-app bot added this to the 2.0.2 milestone May 14, 2023
@phofl
Copy link
Member

phofl commented May 14, 2023

cc @lithomas1 looks like this broke something here. Can you take a look?

@lithomas1
Copy link
Member

Hm, I see what's going on. The lazy copy is not taking place since, we're missing #51698 on 2.0.x, that allows df["blah"] = series to do a lazy copy.

Ideally I'd like to continue backporting this, so is it fine if I just revert the test changes for now?

@phofl
Copy link
Member

phofl commented May 14, 2023

Yep sounds good to me

@lithomas1 lithomas1 merged commit cc47ec2 into pandas-dev:2.0.x May 14, 2023
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.

3 participants