📅  最后修改于: 2022-03-11 14:45:22.883000             🧑  作者: Mango
df.to_json(r'C:\Users\Ron\Desktop\File Name.json', orient='index')
#if you want to just convert to a json file, then omit the file path and enter only file name.