AICE(AI Certificate for Everyone)/AICE Associate
aice associate
xemaker
2024. 2. 13. 19:31
import json
with open ("A0007IT.json", "r") as f:
data = json.load(f)
data
import json
with open ("A0007IT.json", "r") as f:
data = json.load(f)
data
df_item=pd.DataFrame(data)
df_item
d={'Time_Departure':{'0':'11:21.0',
'1':'37:52.0',
'2':'54:19.0',
'3':'04:57.0',
'4':'02.53.0'
},
'Time_Arrival':{'0':'21:19.1',
'1':'05:37.9',
'2':'26:11.2',
'3':'13:42.9',
'4':'12:53.3'
},
'Distance':{'0':'3150',
'1':'12253',
'2':'10140',
'3':'3677',
'4':'10828'
}
}
print(json.dumps(d, indent=2, ensure_ascii=False))