我有一个pandas数据帧:key val
A 1 A 2 B 1 B 3 C 1 C 4
我想做一些像这样的假人:
A 1100 b 1010 c 1001
python pandas
pandas ×1
python ×1