open_in_new
content_copy
# Removing outliers df = df[df['Income'] <= 200000] df = df.dropna(subset=['Income'])