Skip to content

Instantly share code, notes, and snippets.

@marnixkoops
Created June 23, 2020 09:25
Show Gist options
  • Select an option

  • Save marnixkoops/c87d3fa39595663c7a37ce848be1c753 to your computer and use it in GitHub Desktop.

Select an option

Save marnixkoops/c87d3fa39595663c7a37ce848be1c753 to your computer and use it in GitHub Desktop.
Read and combine multiple CSV's
df = pd.concat(
[
pd.read_csv(f)
for f in glob.glob("./folder/*.csv")
],
ignore_index=True,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment