Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. import pandas as pd
  2. import matplotlib.pyplot as plt
  3. import matplotlib.colors as colors
  4.  
  5. table.plot(kind='barh',figsize=(15,11),align='center') # table dataframe has been generated in another file
  6. plt.ylabel('Count of Most common Venue in each cluster')
  7. plt.xlabel('Total no of each venue')
  8. plt.title('Exploring Venues')
  9. plt.gca().legend(('Bookstore', 'Breakfast Spot', 'Shopping Complex', 'Comfort Food Restaurant', 'Cricket Ground'))
  10. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement