We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2ea4b2 + 3e58f35 commit ade1375Copy full SHA for ade1375
mapswipe_workers/mapswipe_workers/generate_stats/user_stats.py
@@ -37,7 +37,7 @@ def get_agg_results_by_user_id(
37
] - (raw_contributions_df["agreeing_contributions"] + 1)
38
39
agg_results_by_user_id_df = raw_contributions_df.groupby(
40
- ["project_id", "user_id", "username"]
+ ["project_id", "user_id"]
41
).agg(
42
groups_completed=pd.NamedAgg(column="group_id", aggfunc=pd.Series.nunique),
43
total_contributions=pd.NamedAgg(column="user_id", aggfunc="count"),
0 commit comments