human
Pandas - Sorting By Column
assistant
Here is some code to concatenate dataframe `df_1` to dataframe `df_2` sorted by values of the column 'y'

pd.concat([df_1, df_2.sort_values('y')])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.