Date: 2025-02-21 00:54:46
Score: 2
Natty:
This is an issue with mutable objects that has already been answered in these posts
- Should setting A to B then changing A affect B in python?
- How do I clone a list so that it doesn't change unexpectedly after assignment?
so in your case you need to use record = row.copy()
Reasons:
- Blacklisted phrase (1): How do I
- Whitelisted phrase (-1): in your case
- Probably link only (1):
- Low length (1):
- Has code block (-0.5):
- Low reputation (0.5):
Posted by: mehdi ahmadi