WIP: of_type impl

closes #7316
FYI you can just do `pd.Series(not bool(exclude), index)`. (Semantically this one seems strange, I think this is actually `not_not_wanted`?? :s )