- pivot = data.groupby('platform')['total_sales'].agg(sum).sort_values(ascending=False).head()
- display(pivot)
- top_five=['PS2', 'X360','PS3' ,'Wii' ,'DS' ]
- for i in top_five:
- data.query('platform == @i').plot(x='year_of_release',y='total_sales',kind='scatter', title=i)
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 http://codebin.org/view/323594bb
Embed
Download Paste or View Raw
— Expand Paste to full width of browser