11.0.1 STACK and UNION DataFrames on top of each other
Description:
pd.concat() takes in a list of dataframes and make sure the column names are the same
Example:
# stack a list of dataframes on top of each other
DF = pd.concat([df1, df2, df3, dfx], ignore_index=True)
Discussion:
pd.concat() takes in a list of dataframes. the column names across all dataframes need to be the same for it to work.