79786593

Date: 2025-10-09 15:38:17
Score: 1
Natty:
Report link

Use bracket notation instead of dot notation for this.

col = "A"
df.loc[df[col]=="bla","B"]=3
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pixel-process