First steps with missings after reading a csv file


#1

I’ve just read a very large file with CSVFiles on a dataframe called myDF.
I think CSVFiles it’s supposed to automatically create “missings” where elements where missing.
Now how can I see how many missings are at each column?
On R I would use
apply(myDF, 2, function(x) sum(is.na(x)))
How can I replace the missings at a given column with some value, for example 0, creating a new column?


#2

https://discourse.julialang.org/search?q=missing%20dataframe%20columns