How do I count all the cells under 'Category' with Pandas Python? I tried: df['Category'].value_counts() but that gives me this output:
Engineering & Information Technology 1159
Manufacturing 1044
Vehicle Service 915
Supply Chain 378
Energy - Solar & Storage 374
Construction & Facilities 296
Sales & Customer Support 269
Finance 119
Charging 115
Environmental, Health & Safety 93
Autopilot & Robotics 78
Operations & Business Support 75
HR 64
Design 59
Vehicle Software 40
Legal & Government Affairs 18
External Relations & Employee Experience 2
Name: Category, dtype: int64
This output just gives me a breakdown of the number of occurrences of each label in 'Category'. What I want is simply the total number of occurrences under 'Category'. So essentially I want to add up all the numbers in the right column. How do I do that?
Here is what the original data looks like (all text):
Title Category Location
0 Technical Product Analyst Engineering & Information Technology Draper, Utah
1 Software Engineer Engineering & Information Technology Austin, Texas
2 Software Development Engineer Engineering & Information Technology Fremont, California
3 Global Supply Analyst Supply Chain Palo Alto, California
4 Software Support Engineer, Battery Automation ... Engineering & Information Technology Austin, Texas