Skip to content

Instantly share code, notes, and snippets.

@chrisroat
Created January 7, 2023 21:48
Show Gist options
  • Save chrisroat/1d1a21982c072f5026d298a0148bf40f to your computer and use it in GitHub Desktop.
Save chrisroat/1d1a21982c072f5026d298a0148bf40f to your computer and use it in GitHub Desktop.
test45
df_comb = df_cvr.groupby(names.tolist())
df_comb = df_comb.size().reset_index(name="Count")
df_comb = df_comb.sort_values("Count", ascending=False)
df_comb = df_comb.reset_index(drop=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment