Skip to content
Snippets Groups Projects
Commit 9e8342af authored by Ruben Haag's avatar Ruben Haag
Browse files

current version

parent 08aff46e
No related branches found
No related tags found
No related merge requests found
...@@ -12,15 +12,16 @@ yname = "dt_earliest_pickup" ...@@ -12,15 +12,16 @@ yname = "dt_earliest_pickup"
filenames = readdir(path, join=false) filenames = readdir(path, join=false)
csv_filenames = findall(x-->occursin('.csv', x), filenames) csv_filenames = findall(x->occursin(".csv", x), filenames)
model_filenames = findall(x-->occursin('.model', x), filenames) model_filenames = findall(x->occursin(".model", x), filenames)
println(csv_filenames)
println(filenames)
df = DataFrame(CSV.File(path*filenames[csv_filenames[1]]))
df = DataFrame(csv_files[1])
for i in csv_filenames
for name in csv_filenames
#TODO put all the generated CSV Files together into one big file which is then saved to the correct location #TODO put all the generated CSV Files together into one big file which is then saved to the correct location
temp = DataFrame(CSV.File(path*name)) temp = DataFrame(CSV.File(path*filenames[i]))
append!(df, temp) append!(df, temp)
end end
println("Saving Combined Dataframe to $archive_path") println("Saving Combined Dataframe to $archive_path")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment