how to sum certain columns row wise in python

Solutions on MaxInterview for how to sum certain columns row wise in python by the best coders in the world

showing results for - "how to sum certain columns row wise in python"
Caden
22 Oct 2016
1df['total']=df.loc[:,list_name].sum(axis=1)
2