I'm wondering if there's any simpler way to assign multiple columns in Python, just like the := in R data.table.
For example, in Python I would have to write like this:
df['Col_A'] = df.A/df.B
df['Col_B'] = df.C/df.D
df['Col_C'] = df.E/df.F * 1000000
df['Col_D'] = df.G/df.H * 1000000
However, it's just one line of code in R data.table:
df[, ':='(Col_A = A/B, Col_B = C/D, Col_C = E/F*1000000, Col_B = G/H*1000000)]