Blake List
07/21/2021, 12:40 AMKevin Kho
@task(_result_=LocalResult(_dir_="./output/",_location_="{map_index}.txt"), _checkpoint_=True)
. In general, you can see these docs for templating names.
Do you need observability on a per row level here? Seems like you can just save the whole DataFrame with a reduce step afterwards also?Blake List
07/21/2021, 12:46 AMKevin Kho
Blake List
07/21/2021, 1:08 AMKevin Kho
@task
def transform(df):
df['col'] = df['col'].apply(lambda x: x+1)
return df
Kevin Kho
Blake List
07/21/2021, 1:19 AM