Sample Custom Scripts

Below are few sample scripts which the users can refer to create transformations.

Table 8-4 Sample Custom Scripts

Function Script Comments
Directly pass input data frame to output df_out=df_prev
Drop first row of data frame df_out=df_prev.drop(0,axis=0) if not df_prev.empty else df_prev
Drop column from data frame df_out= df_prev.drop('colname',axis=1) FEATURE TRANSFORMATION