superset的官方数据集如下:

https://gitee.com/fastsource/examples-data

但是这些数据集里面有些是json文件,要导入mysql显然需要转化,那么怎么办呢?

代码如下:

import pandas as pd
json_data = pd.read_json('birth_names.json')
json_data.head()
json_data.to_csv('birth_names.csv',index=False)

 

superset中的json数据转csv

相关文章:

  • 2021-06-01
  • 2021-10-03
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
猜你喜欢
  • 2021-08-18
  • 2021-06-12
  • 2022-12-23
  • 2022-01-18
  • 2022-02-17
  • 2021-06-03
相关资源
相似解决方案