Relative Content

Tag Archive for pythongraphsumseaborn

Need to use sums from a column to establish the values for the Y-axis in Python

I’m new to python, and I have not been able to find the solution anywhere. I have a column of ‘views_trailer’, and to get the values on the y axis I’m looking for, I need to take the sum of all the values in that column, based on the value in a different column. For example, I need to get the sum for ‘views_trailer’ for each day of the week, and then use those values as the y axis in order to compare how many views occured for each day of the week in a chart.