concatenate pandas dataframes vertically code example Example: concatenate data vertically python dfmfs = pd.concat([dfmf,dfms], axis=0)