Skip to content

Instantly share code, notes, and snippets.

@alejandrociatti
Last active February 26, 2019 13:50
Show Gist options
  • Save alejandrociatti/496479cdec72987dd4af88a3498f2651 to your computer and use it in GitHub Desktop.
Save alejandrociatti/496479cdec72987dd4af88a3498f2651 to your computer and use it in GitHub Desktop.
using CSV
DATA = CSV.read("v2_historical_data.csv", missingstring="-")
foreach( names(DATA) ) do name
missing = true
foreach(DATA[name]) do data
if missing
missing = typeof(data) == Missing
elseif typeof(data) == Missing
println("INVALID CSV, error in asset: $name")
end
end
end
println("csv parsed. DONE")
@alejandrociatti
Copy link
Author

just include the file in same folder as CSV or copy-paste to julia REPL in same folder as CSV

screen shot 2019-02-26 at 10 50 11 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment