Merge multiple dataframes based on a common column [duplicate]
问题 This question already has answers here : Pandas Merging 101 (2 answers) Closed 2 years ago . I have Three dataframes. All of them have a common column and I need to merge them based on the common column without missing any data Input >>>df1 0 Col1 Col2 Col3 1 data1 3 4 2 data2 4 3 3 data3 2 3 4 data4 2 4 5 data5 1 4 >>>df2 0 Col1 Col4 Col5 1 data1 7 4 2 data2 6 9 3 data3 1 4 >>>df3 0 Col1 Col6 Col7 1 data2 5 8 2 data3 2 7 3 data5 5 3 Expected Output >>>df 0 Col1 Col2 Col3 Col4 Col5 Col6 Col7