Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import pandas as pd
- df=pd.DataFrame()
- for file_ in os.listdir(folder_path):
- temp=pd.read_csv(folder_path+'/'+file_,header=None)
- df=pd.concat([df,temp],ignore_index=True)
- df.columns=[new_column_names]
Add Comment
Please, Sign In to add comment