How to get Json-Keys as column-names in a CSV with pyson?
I have the following code: import requests import pandas api_url = "***" Headers = { "Authorization" : "***" } response = requests.get(api_url, headers=Headers) obj = pandas.read_json(response.text, orient='values') obj.to_csv('output1.csv') And I get the follwing output in a CSV: enter image description…