May-01-2020, 02:43 PM
I not sure whether I fully understood the question.
You may use concatenate data frames instead of the merge since you have a different number of columns.
See https://pandas.pydata.org/pandas-docs/st...rging.html
You may use concatenate data frames instead of the merge since you have a different number of columns.
See https://pandas.pydata.org/pandas-docs/st...rging.html
pd.concat([df,df_next], axis=0, ignore_index=True)