check if two arrays are the same pytho code example Example: check if numpy arrays are equal (A==B).all()