Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.rename(columns={"color_intensity": "ci"})
.assign(color_filter=lambda x: np.where((x.hue > 1) & ( > 7), 1, 0))
.query("alcohol > 14")
.sort_values("alcohol", ascending=False)
.loc[:, ["alcohol", "ci", "hue"]]
.pipe(csnap, lambda x: x.sample(5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.