首先导入两个包:
import jsonimport pandas as pd
打开json 文件并读取:
with open('2.json', encoding='utf-8') as f:如何用python将单引号替换为双引号Python可视化神器pyecharts绘制水球图