Open TomAugspurger opened 9 years ago
How to handle e.g.
df.pipe(ck.within_set, items={'A': [1, 2]})
But instead of the column A you want the index. Do we
A
df.index.name == 'A'
{'index': []}
index_within_set
+1 for "look for A, if it's not found, check if df.index.name == 'A'?"
How to handle e.g.
But instead of the column
A
you want the index. Do weA
, if it's not found, check ifdf.index.name == 'A'
?{'index': []}
as a special case?index_within_set
?