我有包含数据和其他列的pandas df
@rev date msg skip_label
0 3710454 2018-06-19 Fix memory limit after matrix file size is red... 1
1 3705910 2018-06-19 Add small two route per courier test\n\nPull-r... 0
2 3705173 2018-06-19 use util/random Q-2959\n\R: 471577 0
3 3692646 2018-06-19 Q-241 Fix mongo settings for mtinfo in pre... 0
4 3692643 2018-06-19 Moved headers to inlude/t\n\nNote:... 1
我想将给定的表示形式转换为按数据分组:
data rev
2018-06-19 [3710454, 3705173, 3692646, 3705173]
... ...
大熊猫是否具有这种内部方法来执行此操作而无需在df上进行不必要的迭代?