I'm having throuble working with the isin method when working with pandas indexes, it always returns False.
from pandas import DataFrame
df = DataFrame(data=[['a', 1], ['b', 2], ['c', 3]], index=['N01', 'N02', 'N03'])
df.index.isin(['01', '02'])
returns
array([False, False, False], dtype=bool)