Advertisement
DECROMAX

Merge multiple (same cols) .csv into one data frame

Feb 14th, 2022
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # concats multiple csv's  (same structure) into one dataframe (also removes headers from subsequent .csv's)
  2.  
  3. df = pd.concat(map(pd.read_csv, [lst, of , csv, paths]), ignore_index=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement