-
Notifications
You must be signed in to change notification settings - Fork 0
TupleTarget #1
Copy link
Copy link
Open
Description
Define a way to create tuple targets. E.g.
Say my task creates an encoder, and I want to return the encoding object and the transformed data frame:
@inherit_list(ETLTask)
class EncodeCat(Task):
target_type = PickleTarget, ParquetTarget
def easy_run(self, inputs):
df = inputs[0]
df, encs = encode_func(df)
return df, encs
One would be a Pickle and the other a Parquet
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels