79387837

Date: 2025-01-26 01:29:59
Score: 1.5
Natty:
Report link

only with pd.eval() you can solve your problem:

df.eval('f_1=1_2+1_3+1_4',inplace=True)

Do it for every column you want to add

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gersain Guzmán