Skip to content

Instantly share code, notes, and snippets.

@kvnkho
Created September 28, 2022 19:41
Show Gist options
  • Save kvnkho/ec02d73e1476145aa4655f6a61079c5b to your computer and use it in GitHub Desktop.
Save kvnkho/ec02d73e1476145aa4655f6a61079c5b to your computer and use it in GitHub Desktop.
import pandas as pd
data = {
"animal": ["cat", "hawk", "snake", "cat"],
"legs": [4, 2, 0, 4],
"weight": [4.3, 1.8, 1.3, 4.1],
}
df = pd.DataFrame(data)
import whylogs as why
profile = why.log(df).profile()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment