python dataframe to json without index code example Example: pandas to json without index df.to_json(orient='records')