i have a 2D numpy array of tuples like below:
a=array([[(2, 3), (inf, 10)], [(2, 2), (7, 8)]], dtype=object)
i used b= np.min(a) and found b = (2, 2)
ho