eelbrain.Factor.isany¶
-
Factor.
isany
(*values)¶ Find the index of entries matching one of the
*values
- Returns
index – For each case True if the value is in values, else False.
- Return type
array of bool
Examples
>>> a = Factor('aabbcc') >>> b.isany('b', 'c') array([False, False, True, True, True, True], dtype=bool)