Does anyone have a more numpy-like way of accomplishing this:
def uneven_compare(array1, array2):
return numpy.all([numpy.any(array2 == elem) for elem in array1])
I just want to check if all of the elements in one array exist in a second array.
Thanks :)