import glob import pandas as pd list_of_csv_files = glob.glob(directory_path + '/*.csv') list_of_csv_files.sort() df = pd.concat(map(pd.read_csv, list_of_csv_files), ignore_index=True) Notes: By default, the list of files generated through glob.glob is not sorted. On the other hand, in many scenarios, it's required to be sorted e.g. one may ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.