Answers for "how to sum certain columns row wise in python"

0

how to sum certain columns row wise in python

df['total']=df.loc[:,list_name].sum(axis=1)
Posted by: Guest on August-17-2021

Code answers related to "how to sum certain columns row wise in python"

Python Answers by Framework

Browse Popular Code Answers by Language