Using CSV or CSVFiles the data doesn’t load in correctly. The 5th column (and higher) are filled with many missing values yet the dataset uses 0 for the numeric columns (not missing).
using DataFrames, CSV, Dates
function read_data()
data = Dict{Symbol,DataFrame}()
for t in [:Confirmed, :Deaths, :Recovered]
p = "./data/archived_data/archived_time_series/time_series_2019-ncov-$t.csv"
data[t] = CSV.read(p, copycols=true, dateformat="m/dd/yy")
#data[t] = DataFrame(load(p))
end
return data
end
I’m using Jula v1.3.1 and the current stable versions of CSV (and CSVFiles). Any idea what is the issue?