pandas row sum
df.sum(axis=1)
pandas sum
import pandas as pd
data = {'Month': ['Jan ','Feb ','Mar ','Apr ','May ','Jun '],
'Bill Commission': [1500,2200,3500,1800,3000,2800],
'Maria Commission': [3200,4100,2500,3000,4700,3400],
'Jack Commission': [1700,3100,3300,2700,2400,3100]
}
df = pd.DataFrame(data,columns=['Month','Bill Commission','Maria Commission','Jack Commission'])
print (df)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us