Guest User

Untitled

a guest
Jul 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import os
  2. import pandas as pd
  3.  
  4. df=pd.DataFrame()
  5. for file_ in os.listdir(folder_path):
  6. temp=pd.read_csv(folder_path+'/'+file_,header=None)
  7. df=pd.concat([df,temp],ignore_index=True)
  8.  
  9. df.columns=[new_column_names]
Add Comment
Please, Sign In to add comment