def get_generated_cols(X_original, X_transformed, to_transform):
original_cols = list(X_original.columns)<EOL>if len(to_transform) > <NUM_LIT:0>:<EOL><INDENT>[original_cols.remove(c) for c in to_transform]<EOL><DEDENT>current_cols = list(X_transformed.columns)<EOL>if len(original_cols) > <NUM_LIT:0>:<EOL><INDENT>[current_cols.remove(c) for c in original_cols]<EOL><DEDENT>return current_cols<EOL>
Returns a list of the generated/transformed columns.

Arguments:
    X_original: df
        the original (input) DataFrame.
    X_transformed: df
        the transformed (current) DataFrame.
    to_transform: [str]
        a list of columns that were transformed (as in the original DataFrame), commonly self.cols.

Output:
    a list of columns that were transformed (as in the current DataFrame).