Data Cleaning With Python, Data Analysis, Dataframes Python, Marketing Analytics.
missing values to drop. Ex17. airquality_dropped = airquality.dropna(subset = ['CO2']) airquality_dropped.head() the original 5th row has been dropped which has Nan in CO2 column Second approach : Ex18. We can also replace the missing values of CO2 with the mean value of CO2, by using the fillna