df1
antecedent consequent p
0 [5] [1] 1.0
1 [3] [1, 5, 4,] 1.0
nodealarm count1 nodealarmrank1
0 test1 110 1
1 test2 201 2
2 test3 300 3
3 test4 600 4
4 test100 60 5
输出
df1
antecedent consequent p
0 [test100] [test1] 1.0
1 [test3] [test1,test100,test4] 1.0
在列上创建字典^{} 和^{} :
或者使用for循环和^{} :
设置
数据帧1:
数据帧2:
相关问题 更多 >
编程相关推荐