โ† All lessons

Lesson 56 of 62 ยท 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 first two lessons are free, so you can start there and see how it works.

See the free lessons