Merge pull request 'develop' (#7) from develop into main
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m37s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m37s
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
@@ -32,6 +32,9 @@ def transform_example_dataset(df: pd.DataFrame) -> pd.DataFrame:
|
|||||||
"""Applies a simple transformation to the example dataset."""
|
"""Applies a simple transformation to the example dataset."""
|
||||||
|
|
||||||
df["total_price"] = df["quantity"] * df["unit_price"]
|
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
|
return df
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ from util_services.resources import s3_resource
|
|||||||
|
|
||||||
defs = Definitions(
|
defs = Definitions(
|
||||||
jobs=[
|
jobs=[
|
||||||
example_job,
|
example_dataframe_demo_job,
|
||||||
data_processing_job,
|
data_processing_job,
|
||||||
k_anonymity_job_s3,
|
k_anonymity_job_s3,
|
||||||
l_diversity_job_s3,
|
l_diversity_job_s3,
|
||||||
|
|||||||
Reference in New Issue
Block a user