json_list = [
'a-1.json',
'a-2.json',
'a-3.json']
final_df = pd.DataFrame()
for i in json_list:
try:
df = pd.read_json(i)
#df.to_csv(i+'.csv')
df = pd.DataFrame(df)
final_df = pd.concat([final_df,df])
except:
pass
final_df.to_csv('a1_a171_profiles.csv')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter