Skip to content
Discussion options

You must be logged in to vote

Hey @oystesla !

You're looking for the isin method on the column in question -- you can pass that a list of options and if the column value matches any of them, then it will return True

[ins] In [8]: t
Out[8]: 
┏━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━┓
┃ speciesislandbill_length_mmbill_depth_mmflipper_length_mm ┃ … ┃
┡━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━┩
│ stringstringfloat64float64int64             │ … │
├─────────┼───────────┼────────────────┼───────────────┼───────────────────┼───┤
│ AdelieTorgersen39.118.7181 │ … │
│ 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cpcloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants