def filter_high_revenue(df): # Keep only rows where revenue is above threshold return df[df["revenue"] > 500]