summing two columns in a pandas dataframe

后端 未结 5 1709
南旧
南旧 2020-12-08 13:23

when I use this syntax it creates a series rather than adding a column to my new dataframe (sum). Please help.

My code:

sum = data[\'variance\'] = d         


        
5条回答
提交回复
热议问题