Add price band
Some checks failed
Check Deleted Workflows / check-deleted-workflows (pull_request) Has been cancelled

This commit is contained in:
2026-06-15 13:22:21 +00:00
parent 18bd8f039a
commit e338459f66

View File

@@ -33,5 +33,8 @@ def transform_example_dataset(df: pd.DataFrame) -> pd.DataFrame:
df["total_price"] = df["quantity"] * df["unit_price"]
df["price_band"] = df["total_price"].apply(
lambda value: "high" if value >= 25 else "standard"
)
return df