columns_to_remove = ["RiskFactors", "CReactiveProteinLevels"]
binary_features = [col for col in categorical_columns if col not in columns_to_remove]
fill_with_false = SimpleImputer(strategy='constant', fill_value=False)
fill_with_false.fit_transform(covid_flu[binary_features])
Run
before executing