Data Cleaning With Python, Data Analysis, Dataframes Python, Marketing Analytics.
method, which is in this case 1.73. Fillna takes in a dictionary with columns as keys, and the imputed value as values. We can even feed custom values into fillna pertaining to our missing data if we have enough domain knowledge about our dataset. co2_mean = airquality['CO2'].mean()