[英]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.