Last answered:

17 Aug 2022

Posted on:

15 Jul 2022

0

np.array.equal function is not working

There is an error when I tried to follow the course on np.array.equal... saying that this "object has no attribute 'equal'. Why is this? Do I need to import any packages? Thanks.

1 answers ( 0 marked as helpful)
Posted on:

17 Aug 2022

0

Hi Christine,

Maybe you have already figured it out. I hope so. But the function is not np.array.equal().  It is np.array_equal(). Mind the "_".

Regards,

Submit an answer