# First steps with missings after reading a csv file

**URL:** https://discourse.julialang.org/t/first-steps-with-missings-after-reading-a-csv-file/19729
**Category:** New to Julia
**Created:** [January 17, 2019, 12:53am UTC](https://discourse.julialang.org/t/first-steps-with-missings-after-reading-a-csv-file/19729 "2019-01-17T00:53:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Juan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juan/32/7657_2.png) [@Juan](https://discourse.julialang.org/u/Juan)
#### Post date: [January 17, 2019, 12:53am UTC](https://discourse.julialang.org/t/first-steps-with-missings-after-reading-a-csv-file/19729/1 "2019-01-17T00:53:58Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)
#### Post date: [January 17, 2019, 1:33am UTC](https://discourse.julialang.org/t/first-steps-with-missings-after-reading-a-csv-file/19729/2 "2019-01-17T01:33:40Z")

</div>

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