Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #72.7K
Hello, I'm a newby to Python and I want to write a function which imports a CSV file and returns a dictionary for each subcategory of a column: other: 6, teacher: 3, services: 2, health: 1 Any advice? Thanks! ![Schermafbeelding_2021-01-07_om_22_21_47.png](https://static.daniweb.com/attachments/4/0ea446ffd447c73b0031dfd0fdddbfe8.png) |
|
Hello, I'm a newby to Python and I want to write a function which imports a CSV file and returns a dictionary for the index of each subcategory in a column like this: hockey: 3, Tennis: 54, volleyball: 59. Any advise on how to adjust my code? Thanks! import csv … |