Capture Transform

A transform is a piece of python code that performs featurization. Use the Capture function to capture the transform code from the Jupyter cell and save it for further use. The python snippet must contain a function infin_transform that takes a pandas Dataframe as input. The input pandas dataframe contains an index and a single column:

The following is an example pandas DataFrame following the infin_transform run: