pandas groupby function
You are working as a software programmer for a grocery store. You need to manage the chocolate inventory for your company. Use this file- flavors_of_cacao.csv file (attached).
Directions:
Create a python script that perform following tasks.
- Read the csv file in Pandas.
- Use GroupBy function to display company name and number of different chocolate brands.
- Display output at the command prompt.
Submission:
- Submit Python Script
- Output Screenshot
Leave a Reply
Want to join the discussion?Feel free to contribute!