Pandas Merge All Csv In A Folder

[Solved] Pandas Merge All Csv In A Folder | Python - Code Explorer | yomemimo.com
Question : pandas merge all csv in a folder

Answered by : amit-upreti

import glob, os
import pandas as pd
df = pd.concat(map(pd.read_csv, glob.glob(os.path.join('', "*.csv"))))

Source : https://stackoverflow.com/questions/20906474/import-multiple-csv-files-into-pandas-and-concatenate-into-one-dataframe | Last Update : Thu, 08 Oct 20

Answers related to pandas merge all csv in a folder

Code Explorer Popular Question For Python