<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transform(self, df):
 """ Transforms a DataFrame in place. Computes all outputs of the DataFrame. Args: df (pandas.DataFrame):
 DataFrame to transform. """

        for name, function in self.outputs:
            df[name] = function(df)