Dec-28-2021, 02:34 AM
(Dec-28-2021, 02:23 AM)Larz60+ Wrote: untested, but close:
import pandas as pd import glob path = Your csv file path os.path.join(path, "*.csv") filelist = glob.glob(path + "/*.csv") df = pd.concat((pd.read_csv(f) for f in filelist)) df = df.fillna('') # replace nan
I have attached test.csv file for testing.