numpy check if arrays are identical code example Example: check if numpy arrays are equal (A==B).all()