pass a pandas.Index object to setFlags and get the indexed values flagged. (fixes having to have the index casted to list beforehand)
pandas.Index
setFlags