write column 'sum' of dataframe `a` to csv file 'test.csv',"a.to_csv('test.csv', cols=['sum'])"