Having issues creating a new column in a pandas python dataframe(see code) that does the same as the excel output attached. This takes the two processes and compares which runs better than the other on the environment and requires a %improvement the process per each environment.
def BuildTable(self,Datatable):
Datatable['%improve'] = Datatable.apply(" apply formula here ")
return Datatable