orientrecordstablevaluesindexcolumnssplit pandas.DataFrame.to_json — pandas 2.2.1 documentationNote NaN’s and None will be converted to null and datetime objects will be converted to UNIX timestamps.https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_json.html