def replaceNaNWithMean(): 里面应该是这个⑧ meanVal = np.mean(datMat[np.nonzero(~np.isnan(datMat[:, i].A))[0], i])