← All lessons

Lesson 16 of 18 · about 18 minutes

Working with Data: JSON and CSV 📊

Working with Data 📊 Most real jobs involve moving data between formats. JSON for APIs, CSV for spreadsheets. JSON import json payload = json.loads('{"user": "ada", "scores": [9, 7]}') print(payload["scores"][0]) text = json.dumps(payload, indent=2) CSV…

This lesson is part of Pythonaut Pro. The full Launchpad track is free forever, so you can start there and come back.

See the free lessons