[英]How to acesses dictionary elements within a pandas dataframe column and iterate over them too create new columns filled with their respective values?
for i, row in df1.iterrows():
for e in row['tags']:
df1.loc[i, e] = row['tags'][e]
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.