# Quick DataFrame question: I am trying to read CSVs that, for some reason, have pos

**URL:** <https://discourse.julialang.org/t/quick-dataframe-question-i-am-trying-to-read-csvs-that-for-some-reason-have-pos/55404>\
**Category:** General Usage\
**Created:** [February 16, 2021, 4:49pm UTC](https://discourse.julialang.org/t/quick-dataframe-question-i-am-trying-to-read-csvs-that-for-some-reason-have-pos/55404 "2021-02-16T16:49:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [February 16, 2021, 4:49pm UTC](https://discourse.julialang.org/t/quick-dataframe-question-i-am-trying-to-read-csvs-that-for-some-reason-have-pos/55404/1 "2021-02-16T16:49:26Z")

</div>

quick DataFrame question: I am trying to read CSVs that, for some reason, have possibly many columns of missing data at the end. The columns are entirely missing.

Is there something similar to dropmissing that operates on columns?

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1613494108458800?thread_ts=1613494108.458800&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [February 16, 2021, 6:22pm UTC](https://discourse.julialang.org/t/quick-dataframe-question-i-am-trying-to-read-csvs-that-for-some-reason-have-pos/55404/2 "2021-02-16T18:22:17Z")

</div>

There are a few options here.

```julia
select(df, Not(names(df, Missing))

```

```julia
df[:, eltype.(eachcol(df)) .!= Missing]

```

If you want to use this solution in the context of piping one solution is

```julia
@chain df begin 
    select(_, Not(names(_, Missing))
end

```
