python pandas如何将具有相同列值的 pandas 合并 [英] python pandas how to combine the pandas with the same column value
本文介绍了python pandas如何将具有相同列值的 pandas 合并的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
转换此框架:
1, 2
----
a, g
a, a
a, j
d, b
c, e
进入:
1, 2
----
a, g,a,j
d, b
c, e
我该怎么办,我可以使用groupby吗?还有什么其他方法?
what can I do, can I use groupby? what other methods?
推荐答案
您可以使用 查看全文