Created
January 27, 2019 14:22
-
-
Save WillKoehrsen/5c4ec64b32c2afb7c21fb6a53d3a57cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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