If a missing value np.nan is inserted in the column: df.iloc[2,1] = np.nan print(df). returns A B 0 2 3.0 1 9 8.0 2 4 NaN 3 4 7.0 4 3 8.0.
確定! 回上一頁