I am trying to optimize apply() function that I using for calling a function which uses pandas dataframe as an argument. I am trying to call this using df_final = df.swifter.app