I have multiple csv-files, with the same rows and columns and their contained data varies depending on the date. Each csv-file is affiliated with a different date, listed in
Try these:
import glob import pandas as pd path=(r'ur file') all_file = glob.glob(path + "/*.csv") li = [] for filename in all_file: df = pd.read_csv(filename, index_col=None, header=0) li.append(df) frame = pd.concat(li, axis=0, ignore_index=True)