You can easily do it like this
df[['A','B','C']] = df[['A','B','C']]/2
Sometime pandas just surprise you!
You can easily do it like this
df[['A','B','C']] = df[['A','B','C']]/2
Sometime pandas just surprise you!
For further actions, you may consider blocking this person and/or reporting abuse
Ray -
Tyler Smith -
Ankit Jain -
Pranjal Sharma -
Top comments (0)