Hy guys i have one problem with the python. I just start to learn and my teacher has give me the task with the python. So the problre is how i can calulate the sum from a column in csv file in pyhon.
Here is my tries :
import pandas as pd
df = pd.read_csv('1.csv')
dfsum=sum(df)
print(dfsum)
My termial is compley for i a do sum with str on integers.
Also the csv file is like this :
-12
-14
-76
-89
-98
-45
-26