How to improve performance of dataframe slices matching?
How to improve performance of dataframe slices matching? Question: I need to improve the performance of the following dataframe slices matching. What I need to do is find the matching trips between 2 dataframes, according to the sequence column values with order conserved. My 2 dataframes: >>>df1 trips sequence 0 11 a 1 11 d …