最佳答案
你好,我有以下数据框。
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