Use np.genfromtext to handle missing values