Target
I have a Pandas data frame, as shown below, with multiple columns and would like to get the total of column, MyColumn.<
MyColumn
Similar to getting the length of a dataframe, len(df), the following worked for pandas and blaze:
len(df)
Total = sum(df['MyColumn'])
or alternatively
Total = sum(df.MyColumn) print Total