I read the json data into dataframe and the first column has data in below format:
0 {'name': 'Mark Vande Hei', 'craft': 'ISS'} 10 success
1 {'name': 'Oleg Novitskiy', 'craft': 'ISS'} 10 success
How can I create a new dataframe with 2 columns: Name and craft from the above data?
url_crew = 'http://api.open-notify.org/astros.json'
crew = pd.read_json(url_crew)
print(crew)