标签: pandas
我有:
pd.DataFrame({'col1':['a','a','a','b','b','b','b','b'],'col2':[123,456,789,12,34,56,78,90]})
我想要:
这个转换叫什么?任何建议如何在熊猫中做到这一点?