Créer un tableau NP nan

an_array = np.empty((3,3))
an_array[:] = np.NaN
Grieving Grebe