Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- df.groupby(['department', 'status'])['c_name'].count()
- department status
- Agriculture Accepted 3
- Pending 2
- Rejected 13
- Department of Education and Training Accepted 290
- Rejected 65
- Higher Education Accepted 424
- Pending 24
- Rejected 92
- Medical Education and Research Accepted 34
- Pending 3
- Rejected 1
- .plot(kind='bar', stacked=True)
Add Comment
Please, Sign In to add comment