选择所有行,取Alley列数据。 train.loc[:, "Alley"] = train.loc[:, "Alley"].fillna("None") 把Alley列数据中为却是值的数据填为None.