Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def show_stats_by_tag(tag):
return(df.groupby(f'<tag>{tag}').describe()[['views', 'reads']])
stats = interact(show_stats_by_tag,
tag=widgets.Dropdown(options=['Towards Data Science', 'Education',
'Machine Learning', 'Python', 'Data Science']))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment