如何判斷DataFrame中是否有缺失值?

import pandas as pd import numpy as np df = pd.DataFrame(np.random.randn(10,6)) # Make a few areas have NaN values df.iloc[1:3,1] = np.nan df.iloc[5,3] = np.nan df.iloc[7:9,5] = np.nan df.isnull().an
相關文章
相關標籤/搜索