kts
kts copied to clipboard
External variables
col_to_me = ['numberOfDaysActuallyPlayed']
@register
def days_me(df):
return (stl.make_mean_encoding(col_to_me, 'target'))(df)
only source will be saved, no info about col_to_me
bad codestyle, we need to define such variables inside of function definition