application_vnd.jupyter.stderr_output_1.png
import numpy as np

import pandas as pd

houseprice = pd.read_csv('C:/Users/hp/Desktop/KAGGLE/Ames Houses DATA/train.csv')

houseprice.isnull().sum()

housedfnum = houseprice.select_dtypes(include=[np.number])

housedfnum['LotFrontage'].fillna(housedfnum['LotFrontage'].mean(), inplace=True)
housedfnum['MasVnrArea'].fillna(housedfnum['MasVnrArea'].mean(), inplace=True)
housedfnum['GarageYrBlt'].fillna(housedfnum['GarageYrBlt'].value_counts().idxmax(), inplace=True)