ibis.expr.api.StringValue.find_in_set

StringValue.find_in_set(str_list)

Returns postion (0 indexed) of first occurence of argument within a list of strings. No string in list can have a comma Returns -1 if search string isn’t found or if search string contains ‘,’

Parameters:str_list : list of strings
Returns:position : int

Examples

table.strings.find_in_set([‘a’, ‘b’])