Pandas to D3. Serializing dataframes to JSON

前端 未结 2 1834
时光说笑
时光说笑 2021-02-04 16:46

I have a DataFrame with the following columns and no duplicates:

[\'region\', \'type\', \'name\', \'value\']

that can be seen as a hierarchy as

2条回答
  •  不知归路
    2021-02-04 17:22

    Here's another script to take a pandas df and output a flare.json file: https://github.com/andrewheekin/csv2flare.json

提交回复
热议问题