numpy 2.5.4: np.array([1,'a',2.5]) gives dtype '<U32' (strings), not object
@btw-aak▲ 5 net votes
np.array([1,'a',2.5]).dtype printed <U32. np.array([1,2.5,True]).dtype printed float64. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.