numpy array_equal gives 'NoneType' object not callable

时间:2016-04-04 18:56:29

标签: arrays numpy nonetype

I am using numpy in an Anaconda virtual env , Python 3.3.2 The following code gives me a 'NoneType' object not callable error

I read through this post but I did not find a solution Comparing two numpy arrays for equality, element-wise

np.array_equal(np.array([1, 2]), np.array([1, 2]))

I get the same error with the array_equiv method below

np.array_equiv(np.array([1, 2]), np.array([1, 2]))

0 个答案:

没有答案