I am trying to use a custom function in Function Transformer in Python and building a pipeline with it. The custom function takes a data frame as input and returns another d