You can merge the data frame using the various methods based on your requirement you can use join, merge, concat, append and so on to implement the merging. Example of using the concat method is as follows. Suppose you have 2 dataframe df1, df2 and df3. Then you can merge them as follows:
import pandas as pd
frames=[df1,df2,df3]
result=pd.concat(frames)
Hope this helps!!
If you need to know more about Python, join Python online course today.
Thanks!