column_values_in_list¶
- grizli.utils.column_values_in_list(col, test_list)[source]¶
Test if column elements “in” an iterable (e.g., a list of strings)
- Parameters
- col
astropy.table.Column
or other iterable Group of entries to test
- test_listiterable
List of values to search
- col
- Returns
- testbool array
- Simple test:
>>> [c_i in test_list for c_i in col]