Lets say I have lots of columns, something in this format
name1 val1 name2 val21 val22 ...
0 a 1 aa 1 5
1 b 2 bb 2 6
2 c 3 cc 3 7
Any efficient / one-liner to do arithmetic(scalar) operations on only the numeric columns ?,
something like this
df = df.mul(100)
name1 val1 name2 val21 val22 ...
0 a 100 aa 100 500
1 b 200 bb 200 600
2 c 300 cc 300 700