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