Posted on:

03 Jul 2021

0

np.array_equal() outputs False

In 3:58 of this lecture
This outputs False

np.array_equal(loan_data_num[:,0].astype(dtype = np.int32), loan_data_num[:,5].astype(dtype = np.int32))

I understood the concept and therefore followed the steps ignoring this.
However, in such scenario where it's false. What is the necessary step?
In addition, is there a way to check where the 2 arrays differ?

0 answers ( 0 marked as helpful)

Submit an answer