Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Created January 27, 2019 13:32
Show Gist options
  • Save WillKoehrsen/a4cb69e94f7ff064e428127f20030f34 to your computer and use it in GitHub Desktop.
Save WillKoehrsen/a4cb69e94f7ff064e428127f20030f34 to your computer and use it in GitHub Desktop.
# Interact with specification of arguments
@interact
def show_articles_more_than(column=['claps', 'views', 'fans', 'reads'],
x=(10, 100000, 10)):
return df.loc[df[column] > x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment