JSON dans les projets data science : Trucs & Astuces
Le module standard json
Python possède un module standard nommé json qui permet de manipuler rapidement des fichiers JSON
Chargement
import json
with open("data/example.json", "r") as f:
data = json.load(f)
data
# [{'id': 0, 'content': [0.0, 0....
h4c5.hashnode.dev4 min read