Skip to content

Instantly share code, notes, and snippets.

@chyld
Created October 31, 2019 17:57
Show Gist options
  • Save chyld/04a9995c525c6079f1adebf62901a294 to your computer and use it in GitHub Desktop.
Save chyld/04a9995c525c6079f1adebf62901a294 to your computer and use it in GitHub Desktop.
data = {'animal': ['cat', 'cat', 'snake', 'dog', 'dog', 'cat', 'snake', 'cat', 'dog', 'dog'],
'age': [2.5, 3, 0.5, np.nan, 5, 2, 4.5, np.nan, 7, 3],
'visits': [1, 3, 2, 3, 2, 3, 1, 1, 2, 1],
'priority': ['yes', 'yes', 'no', 'yes', 'no', 'no', 'no', 'yes', 'no', 'no']}
labels = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment