Ich habe einen Datenrahmen mit einem JSON -Substring in 1 der Spalten. Ich möchte Variablen extrahieren und Spalten für sie erstellen
with open('your_json_file.json') as f:
data = json.load(f)
df = pd.json_normalize(data)
df.columns = ['id', 'name', 'logo', 'ico_score', 'url', 'raised']
print(df)
id name logo ico_score url raised
0 126 SONM link 6.7 link 42000000
1 132 openANX link 5.7 link 18756937
2 166 Boul\u00e9 link 5.6 link
SAMER SAEID