pk['Total'] = pk['HP'] + pk['Attack'] + pk['Defense'] + pk['Sp. Atk'] + pk['Sp. Def'] + pk['Speed']

pk['new'] = 1 # it will also create a new columb

pk.head(5)#create a columnb named Total all the sum of parameter 

pk['Total'] = pk.iloc[:,4:10].sum(axis=1) #here add a total columb total add 4 to 9 columnb and axis = 1 means create a columnb if it axis =  0 it will create a row


pk.to_csv('modified.csv')
