We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 79. Parse a csv file and create a bar chart

15 out of 15 users completed this Bite ...
Will you be Pythonista #16 to crack this Bite?
Average Bite difficulty 1-10 rating: 6.0
» Up for a challenge? 💪

We played a bit with the Slack API today and wow: our PyBites community is super international! We really enjoy connecting with Pythonistas from all over the globe.

We put some anonymized data in a csv (using uuid4 and faker) and for this Bite we ask you to use requests to load it in, use the csv module to parse it into a data structure of your choice, and finally produce the following output:

Africa/Algiers       | ++
Africa/Cairo         | +
Africa/Monrovia      | +
Africa/Nairobi       | ++++
Europe/Moscow        | ++
Europe/Warsaw        | ++
Pacific/Honolulu     | +

See the full output under the TESTS tab. Good luck and remember: keep calm and code in Python!

Github login button