#You can use the any() function to check for null values by Columns pd.isnull(data).any() # This will drop all columns that contain null values in the entire data set data.dropna() #This will fill the null values with the average of BMI data['BMI'].fillna(value = data['BMI'].mean()) __ __