我有一个这样的数据框:
antecedents consequents support confidence lift
0 (weather1) (go for swimming) 0.965517 1.0 1.035714
1 (weather2) (stay home) 0.965517 1.0 1.035714
数据框具有 freezeset 值。例如:
df['antecedents'][0]
frozenset({weather1})
如何将此数据帧转换为普通数据帧(即没有冻结集值)?
我尝试转换为列表并返回数据框,但这不起作用
有任何想法吗?