cycle_plot

From Soiled Agouti, 10 Months ago, written in Python, viewed 235 times. This paste is a reply to Re:task_13 from Alexandra Gaidamovich - view diff
URL http://codebin.org/view/5a9ba5e7 Embed
Download Paste or View Raw
  1.  
  2. platform_list = ["PS2", "X360", "PS3", "Wii"]
  3.  
  4. for plat in platform_list:
  5.     games.query(
  6.         'platform == plat'
  7.     ).pivot_table(
  8.         index='year_of_release',
  9.         values='all_sales',
  10.         aggfunc='sum'
  11.     ).plot(
  12.         kind='bar',
  13.         title= f'Продажи на {plat}',
  14.         ylabel='общие продажи',
  15.         xlabel='год',
  16.         rot=0,
  17.         stacked=True,
  18.         width=0.8,
  19.         legend=False,
  20.         figsize=(8,5)
  21.     );
  22.    

Replies to cycle_plot rss

Title Name Language When
Re: cycle_plot Mustard Octupus python 10 Months ago.

Reply to "cycle_plot"

Here you can reply to the paste above