Merge pull request 'develop' (#10) from develop into main
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m17s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m17s
Reviewed-on: #10 Reviewed-by: Jessica Roberts <j.r@email.com>
This commit was merged in pull request #10.
This commit is contained in:
@@ -32,5 +32,9 @@ 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
|
||||
|
||||
@@ -9,10 +9,11 @@ from template_code_location.jobs.jobs import (data_processing_job,
|
||||
from util_services.custom_json_logger import simpl_json_logger
|
||||
from util_services.resources import s3_resource
|
||||
|
||||
|
||||
defs = Definitions(
|
||||
jobs=[
|
||||
example_job,
|
||||
data_processing_job,
|
||||
example_dataframe_demo_job,
|
||||
k_anonymity_job_s3,
|
||||
l_diversity_job_s3,
|
||||
t_closeness_job_s3,
|
||||
|
||||
Reference in New Issue
Block a user