# Error in opening dataframe

**URL:** <https://discourse.julialang.org/t/error-in-opening-dataframe/38898>\
**Category:** General Usage\
**Tags:** question\
**Created:** [May 6, 2020, 4:08pm UTC](https://discourse.julialang.org/t/error-in-opening-dataframe/38898 "2020-05-06T16:08:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 6, 2020, 4:08pm UTC](https://discourse.julialang.org/t/error-in-opening-dataframe/38898/1 "2020-05-06T16:08:55Z")

</div>

Hello,  
I tried to open a dataframe that was generated in R; the dataframe is opened with libreoffice calc with no errors:

```julia
julia> df = CSV.read("/home/gigiux/Downloads/epiCurve/covidDataFrame.tsv",
           delim='\t', missingstring="NA", decimal='.')
ERROR: MethodError: no method matching Parsers.Options(::Array{String,1}, ::UInt8, ::UInt8, ::UInt8, ::UInt8, ::UInt8, ::UInt8, ::Char, ::Array{String,1}, ::Array{String,1}, ::Nothing, ::Bool, ::Bool, ::Nothing, ::Bool, ::Bool, ::Bool, ::Bool)
Closest candidates are:
  Parsers.Options(::Union{Missing, Nothing, Array{String,1}}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Nothing, Char, UInt8, String}, ::Union{Char, UInt8}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, String, Dates.DateFormat}, ::Any, ::Any, ::Any, ::Any, ::Any) at /home/gigiux/.julia/packages/Parsers/GLY4Q/src/Parsers.jl:60
  Parsers.Options(::Union{Missing, Nothing, Array{String,1}}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Nothing, Char, UInt8, String}, ::Union{Char, UInt8}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, String, Dates.DateFormat}, ::Any, ::Any, ::Any, ::Any) at /home/gigiux/.julia/packages/Parsers/GLY4Q/src/Parsers.jl:60
  Parsers.Options(::Union{Missing, Nothing, Array{String,1}}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Char, UInt8}, ::Union{Nothing, Char, UInt8, String}, ::Union{Char, UInt8}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, Array{String,1}}, ::Union{Nothing, String, Dates.DateFormat}, ::Any, ::Any, ::Any) at /home/gigiux/.julia/packages/Parsers/GLY4Q/src/Parsers.jl:60
Stacktrace:
 [1] CSV.Header(::String, ::Int64, ::Bool, ::Int64, ::Nothing, ::Int64, ::Int64, ::Bool, ::Nothing, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Array{String,1}, ::String, ::Char, ::Bool, ::Char, ::Nothing, ::Nothing, ::Char, ::Nothing, ::Nothing, ::Char, ::Array{String,1}, ::Array{String,1}, ::Nothing, ::Nothing, ::Dict{Int8,Int8}, ::Bool, ::Float64, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at /home/gigiux/.julia/packages/CSV/vyG0T/src/header.jl:158
 [2] #File#28(::Int64, ::Bool, ::Int64, ::Nothing, ::Int64, ::Int64, ::Bool, ::Nothing, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Array{String,1}, ::String, ::Char, ::Bool, ::Char, ::Nothing, ::Nothing, ::Char, ::Nothing, ::Nothing, ::Char, ::Array{String,1}, ::Array{String,1}, ::Nothing, ::Nothing, ::Dict{Int8,Int8}, ::Bool, ::Float64, ::Bool, ::Bool, ::Bool, ::Bool, ::Type{CSV.File}, ::String) at /home/gigiux/.julia/packages/CSV/vyG0T/src/file.jl:210
 [3] (::Core.var"#kw#Type")(::NamedTuple{(:delim, :missingstring, :decimal),Tuple{Char,String,Char}}, ::Type{CSV.File}, ::String) at ./none:0
 [4] #read#86(::Bool, ::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol,Symbol},NamedTuple{(:delim, :missingstring, :decimal),Tuple{Char,String,Char}}}, ::typeof(CSV.read), ::String) at /home/gigiux/.julia/packages/CSV/vyG0T/src/CSV.jl:41
 [5] (::CSV.var"#kw##read")(::NamedTuple{(:delim, :missingstring, :decimal),Tuple{Char,String,Char}}, ::typeof(CSV.read), ::String) at ./none:0
 [6] top-level scope at none:0

```

What would be the problem?

---

<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:** [May 6, 2020, 5:25pm UTC](https://discourse.julialang.org/t/error-in-opening-dataframe/38898/2 "2020-05-06T17:25:39Z")

</div>

Try doing it with `header = false` or `datarow = 2` as keyword arguments since the error seems to be stemming from the creation of the header.
