Skip to content

Instantly share code, notes, and snippets.

@Nicolas-Vandeput
Created July 3, 2021 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nicolas-Vandeput/156a540605b0c3080ec1d166f97de953 to your computer and use it in GitHub Desktop.
Save Nicolas-Vandeput/156a540605b0c3080ec1d166f97de953 to your computer and use it in GitHub Desktop.
start = time.time()
df = []
for file_number in range(10):
temp = pd.read_csv(f"Dummy {file_number}.csv")
df.append(temp)
df = pd.concat(df, ignore_index=True)
end = time.time()
print("CSV2:", end - start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment