标签: python python-3.x pandas numpy group-by
嗨,我在大熊猫上有一列标签,如下所示:
Col1 0 0 0 1 1 1 2 2 0 0
我需要获取:
group number_rows 0 3 1 3 2 2 0 2