Guest User

Untitled

a guest
Apr 26th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. df.groupby(['department', 'status'])['c_name'].count()
  2.  
  3. department status
  4. Agriculture Accepted 3
  5. Pending 2
  6. Rejected 13
  7. Department of Education and Training Accepted 290
  8. Rejected 65
  9. Higher Education Accepted 424
  10. Pending 24
  11. Rejected 92
  12. Medical Education and Research Accepted 34
  13. Pending 3
  14. Rejected 1
  15.  
  16. .plot(kind='bar', stacked=True)
Add Comment
Please, Sign In to add comment