【发布时间】:2017-06-21 14:06:02
【问题描述】:
我有一张大桌子(4M 行和 20 列)。在一个特定的列中,我有一个类似的列表:
8
0 [key1=it, key3=domain, key6=0001]
1 [key2=home]
2 [key4=pippo, key5=pluto]
给定一个列表 keys=[] 的键,我想以一种有效的方式将“8”列替换为其他列,如下所示:
key1 key2 key3 key4 key5 key6
0 it None domain None None 0001
1 None home None None None None
2 None None None pippo pluto None
谢谢! 我
【问题讨论】: