I tried using the np.isin() function but everytime I do, it returns me the error:
AttributeError: 'module' object has no attribute 'isin' here is exactly what I do
import numpy as np a = np.arange(9).reshape((3,3)) test = np.arange(5) print np.isin(a, test) I havent found any information about this problem, I use the latest version of numpy and havent had any problem with other numpy module, why does it returns me this error?
np.sin()?np.isin. @Tissuebox It works for me in Python3.