Exemple #1
0
def train_model(context, df):
    context.log.info(struct_to_string(df))
    model = train(df)
    return model
Exemple #2
0
def parse_df(context, df):
    context.log.info(struct_to_string(df))
    result_df = df[:5]
    return result_df