How can I sum the columns (C1.dn + C2.dn + V1.dn + V2.dn) by each row and display it as a new column in the same dataframe?
For example, sum of row 1 (9.659531 + 5.159067 + 9.220461 + 13.48245) should be displayed as a new column (37.52).
A snippet of my data is provided below.
C1.dn C2.dn V1.dn V2.dn
1 9.659531 5.159067 9.220461 13.48245
2 13.482264 15.033321 5.249731 15.39126
3 14.986702 8.004261 8.190506 12.43744
4 16.130656 16.455435 7.469901 11.58376
5 11.597134 8.422198 5.798567 12.34388
6 14.337659 15.216855 5.883851 10.27983
7 11.403534 7.947642 7.051602 16.54026
8 20.604107 14.437914 5.023191 12.63318
9 11.324600 7.044436 6.866096 13.99970
Thanks.