export python pandas dataframe as json file

56

export python pandas dataframe as json file -

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.

Comments

Submit
0 Comments