Set FunctionsΒΆ isin Determine whether each element in a is present in b. nunique Count the number of unique elements in an array. setdiff1d Find the set difference of two arrays. union1d Find the union of two arrays.