Python, Lambda, Data Analysis, Data Science, Data Analytics.
density_normalizer = lambda x: x / max_density if pd.notnull(x) else None interpolated_data['Normalized_UrbanGrowth'] = interpolated_data['UrbanPopGrowth%'].map(urban_growth_normalizer) imputed_data['Normalized_PopDens'] = imputed_data['PopDens'].map(density_normalizer) The interpolated and imputed