Pandas Dataframe To Json

  # Export to JSON file
news_df.to_json(os.path.join('Output','news_df.json')) 
source