Any simpler way to assign multiple columns in Python like R data.table :=
Any simpler way to assign multiple columns in Python like R data.table := Question: 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 * …