Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2.  
  3. # Quick inspection of the data
  4. world.plot.barh(x='Tennis_Player',
  5. y= 'Total_Weeks_at_No_1',
  6. figsize = (15, 10),
  7. )
  8.  
  9. # Filtering the output, weeks at no 1 greater than 50 will only be shown.
  10. world[world.Total_Weeks_at_No_1 > 50].plot.barh(x='Tennis_Player',
  11. y= 'Total_Weeks_at_No_1',
  12. figsize = (15, 10),
  13. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement