Groupby with pandas and matplotlib

Asked

Viewed 13 times

0

How to group the total value of y per year x and plot?

    x = df_Year
    y = df_RevenueMillions
    
    plt.plot(x, y)
    
    plt.show()
  • 2

    Please update the post with an example of the dataframes df_Year and df_RevenueMillions

  • Alexander, I suggest you edit your question, so that it meets the criteria of a [].

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.