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