Removing outliers

PHOTO EMBED

Tue May 21 2024 08:45:36 GMT+0000 (Coordinated Universal Time)

Saved by @Uncoverit #python

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