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