Guest User

Untitled

a guest
Mar 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. df.groupby([df.index.month]).size().plot(kind = 'barh')
  2. plt.title('Number of crimes by month')
  3. plt.xlabel('Number of Crimes')
  4. plt.ylabel('Month')
  5. plt.show()
Add Comment
Please, Sign In to add comment