Skip to content

Instantly share code, notes, and snippets.

@youssefHosni
Created January 4, 2022 09:14
Show Gist options
  • Save youssefHosni/88845cac2524edb942302ccdaa48d1f9 to your computer and use it in GitHub Desktop.
Save youssefHosni/88845cac2524edb942302ccdaa48d1f9 to your computer and use it in GitHub Desktop.
df_grouped_categorey = demographics_data.groupby('Category').count().reset_index()
fig = px.bar(df_grouped_categorey, x='Category', y='Topic')
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment