Target
I have a Pandas data frame, as shown below, with multiple columns and would like to get the total of column, MyColumn.<
MyColumn
There are two ways to sum of a column dataset = pd.read_csv("data.csv") 1: sum(dataset.Column_name) 2: dataset['Column_Name'].sum()
There are two ways to sum of a column
dataset = pd.read_csv("data.csv")
1: sum(dataset.Column_name)
2: dataset['Column_Name'].sum()
If there is any issue in this the please correct me..