Hi,

I am new to numpy so any help would be greatly appreciated.

I have two arrays:

    array1 = np.arange(1,100+1)
    array2 = np.arange(1,50+1)

How can I calculate/determine if array2 is a subset of array1 (falls within
array 1)

Something like : array2 in array1 = TRUE for the case above.

Thank
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to