您好,我有以下数据框。
Group Size
Short Small
Short Small
Moderate Medium
Moderate Small
Tall Large
我想计算同一行出现在数据框中的次数。
Group Size Time
Short Small 2
Moderate Medium 1
Moderate Small 1
Tall Large 1