Comparing Numpy Arrays in Python