I have a huge If-Else code that I write in Tableau The compiler simply takes a lot of time to execute this code so I want to move it onto Python. My df: I have a VLOOKUP table that Interprets these values to provide an output My If-Else code simply put is: Where df_output is the resulting dataframe e.g. for