Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using Glob
using CSVFiles
using DataFrames
filenames = glob("*.csv")
function load_dataframes(filenames)
df = DataFrame(CSVFiles.load(filenames[1]))
for filename in filenames[2:end]
df2 = DataFrame(CSVFiles.load(filename))
df = [df; df2]
end
return df
end
df = load_dataframes(filenames)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment