I need to extract the following info as a table from JSON string:
flightId lat lon
657853226 39.588 -123.6683
...
This is how I started to solve the task:
request=Request('...')
response_flights = urlopen(request)
fn = response_flights.read()
flights = json.loads(fn)
flights = pd.DataFrame(json_normalize(flights['flightPositions']))
Buthow can I save positions in a DataFrame along with flightId?
