# Ignore comments with CSV.read(...)

**URL:** <https://discourse.julialang.org/t/ignore-comments-with-csv-read/11302>\
**Category:** Data\
**Tags:** question\
**Created:** [May 31, 2018, 7:22pm UTC](https://discourse.julialang.org/t/ignore-comments-with-csv-read/11302 "2018-05-31T19:22:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [May 31, 2018, 7:22pm UTC](https://discourse.julialang.org/t/ignore-comments-with-csv-read/11302/1 "2018-05-31T19:22:51Z")

</div>

When reading a csv file with CSV.read(…), is it possible to ignore lines that start with a character (for example `#`)?

In other words, I want to read a file that contains comments.

---

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [May 31, 2018, 7:31pm UTC](https://discourse.julialang.org/t/ignore-comments-with-csv-read/11302/2 "2018-05-31T19:31:30Z")

</div>

This is an open issue at the moment:  
[https://github.com/JuliaData/CSV.jl/issues/122](https://github.com/JuliaData/CSV.jl/issues/122)
