Skip to content

BUG(CoW): also raise for chained assignment for .at / .iat #62074

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 1 commit into from
Aug 8, 2025

Conversation

jorisvandenbossche
Copy link
Member

Noticed while working on #61368. I assume this was an oversight in the original PR #49467 adding those checks. Also added some more explicit tests for all of loc/iloc/at/iat

@mroeschke mroeschke merged commit b84ac0e into pandas-dev:main Aug 8, 2025
47 checks passed
@mroeschke
Copy link
Member

Thanks @jorisvandenbossche

Copy link

lumberbot-app bot commented Aug 8, 2025

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 2.3.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 b84ac0ec647902b9dd0c1bcda790b289f577b617
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #62074: BUG(CoW): also raise for chained assignment for .at / .iat'
  1. Push to a named branch:
git push YOURFORK 2.3.x:auto-backport-of-pr-62074-on-2.3.x
  1. Create a PR against branch 2.3.x, I would have named this PR:

"Backport PR #62074 on branch 2.3.x (BUG(CoW): also raise for chained assignment for .at / .iat)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

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