python 疫情数据可视化
json数据转 csv import json import time import csv file = open('DXYArea-TimeSeries.json','r',encoding='utf-8') infos = json.load(file) with open('data.csv','a',newline='') as f: writer = csv.DictWriter(f,fieldnames=['updateTime','provinceName', 'currentConfirmedCount','confirmedCount',