Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- # Quick inspection of the data
- world.plot.barh(x='Tennis_Player',
- y= 'Total_Weeks_at_No_1',
- figsize = (15, 10),
- )
- # Filtering the output, weeks at no 1 greater than 50 will only be shown.
- world[world.Total_Weeks_at_No_1 > 50].plot.barh(x='Tennis_Player',
- y= 'Total_Weeks_at_No_1',
- figsize = (15, 10),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement