Compare commits

4 Commits

Author SHA1 Message Date
18bd8f039a calculate total price as quantity * unit_price
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m47s
Check Deleted Workflows / check-deleted-workflows (pull_request) Successful in 59s
2026-06-15 13:07:59 +00:00
e46c826c01 Merge pull request 'added example for schedule, reset for demo' (#5) from develop into main
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m46s
Reviewed-on: #5
2026-06-12 11:41:02 +00:00
ae83ac8a99 Merge pull request 'develop' (#4) from develop into main
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m59s
Reviewed-on: #4
2026-06-12 09:58:55 +00:00
88d4b9e883 Merge pull request 'added deletion check, and added workflows' (#2) from develop into main
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m43s
Reviewed-on: #2
2026-06-12 08:28:12 +00:00

View File

@@ -31,8 +31,7 @@ def generate_example_dataset() -> pd.DataFrame:
def transform_example_dataset(df: pd.DataFrame) -> pd.DataFrame:
"""Applies a simple transformation to the example dataset."""
df["price_band"] = df["total_price"].apply(
lambda value: "high" if value >= 25 else "standard"
)
df["total_price"] = df["quantity"] * df["unit_price"]
return df