pandas concat add index code example Example: concat dataframe from list of dataframe import pandas as pd df = pd.concat(list_of_dataframes)