来源:https://stackoverflow.com/questions/63618741/pandas-increment-values-on-groupby-with-a-condition 标签 python pandas pandas-groupby