Skip to content

Instantly share code, notes, and snippets.

@kspeeckaert
Created June 30, 2016 08:29
Show Gist options
  • Save kspeeckaert/957c966a5332fc6bc544617c2efad4e9 to your computer and use it in GitHub Desktop.
Save kspeeckaert/957c966a5332fc6bc544617c2efad4e9 to your computer and use it in GitHub Desktop.
Efficient query pandas dataset
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kspeeckaert
Copy link
Author

This is a sample notebook to demonstrate the improvement, both in resource usage and row selection, when converting columns to categories. The gist was posted in response to this question on StackOverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment