Jan-12-2020, 09:22 PM
I have two 2d numpy arrays to compare. How can I compare them? Eg. [[1 1] [1 2] [2 1] [2 2]] with [[1. 2.] [2. 1.] [2. 1.] [1. 2.]]. Answer should be they do not match. But if second was [[1 1] [2 1] [1 2] [2 2]] then program should say they match. (It's important that all sequences are there, but in different order).