📜  pandas 获取每个组的大小 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:46.927000             🧑  作者: Mango

代码示例1
# returns number of rows in each group as a Series
df_group.size()