Re: Untitled

From Stained Sloth, 6 Months ago, written in Plain Text, viewed 137 times. This paste is a reply to Untitled from Unique Horse - view diff
URL Embed
Download Paste or View Raw
  2. pivot = data.groupby('platform')['total_sales'].agg(sum).sort_values(ascending=False).head()
  3. display(pivot)
  5. top_five=['PS2', 'X360','PS3' ,'Wii' ,'DS' ]
  7. for i in top_five:
  8.     data.query('platform == @i').plot(x='year_of_release',y='total_sales',kind='scatter', title=i)

Reply to "Re: Untitled"

Here you can reply to the paste above