Apply a function to the 0-dimension of an ndarray,np.asarray([func(i) for i in arr])