how to test equality of numpy arrays code example Example: check if numpy arrays are equal (A==B).all()