I have multiple Pandas Dataframes, all of them have the same column names but in different sequence for example:
df_1:
X Y Z
5 4 3
df_2:
Z X Y
5 4 4
How to merge them by column name? I want my output look like this:
df_3:
X Y Z
5 4 3
4 4 5