pandas.DataFrame.to_json — pandas 1.3.5 documentation
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_json.htmlpandas.DataFrame.to_json¶ DataFrame. to_json (path_or_buf = None, orient = None, date_format = None, double_precision = 10, force_ascii = True, date_unit = 'ms', default_handler = None, lines = False, compression = 'infer', index = True, indent = None, storage_options = None) [source] ¶ Convert the object to a JSON string. Note NaN’s and None will be converted to null and …