# Tabulated data are treated as rows of strings by CSV.File

**URL:** <https://discourse.julialang.org/t/tabulated-data-are-treated-as-rows-of-strings-by-csv-file/56247>\
**Category:** General Usage\
**Tags:** dataframes, csv\
**Created:** [March 1, 2021, 12:33pm UTC](https://discourse.julialang.org/t/tabulated-data-are-treated-as-rows-of-strings-by-csv-file/56247 "2021-03-01T12:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arif](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@arif](https://discourse.julialang.org/u/arif)\
**Post date:** [March 1, 2021, 12:33pm UTC](https://discourse.julialang.org/t/tabulated-data-are-treated-as-rows-of-strings-by-csv-file/56247/1 "2021-03-01T12:33:41Z")

</div>

I am trying to get [this](http://www.ioffe.ru/astro/NSG/NSEOS/sly4.dat) table of data representing the SLy equation of state for a neutron star. `CSV.File(HTTP.get("http://www.ioffe.ru/astro/NSG/NSEOS/sly4.dat").body)` loads the data as strings of a single column instead of four columns of numbers. How to get the expected results? The problem remains the same even if the load the data file from the local directory.

---

<div class="post-metadata">

**Author:** ![joshday](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshday/32/368_2.png) [@joshday](https://discourse.julialang.org/u/joshday)\
**Post date:** [March 1, 2021, 12:46pm UTC](https://discourse.julialang.org/t/tabulated-data-are-treated-as-rows-of-strings-by-csv-file/56247/2 "2021-03-01T12:46:25Z")

</div>

The first few rows of your file isn’t data.

See `skipto` in the `CSV.File` docs ([Home · CSV.jl](https://csv.juliadata.org/stable/#CSV.File))

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [March 1, 2021, 12:59pm UTC](https://discourse.julialang.org/t/tabulated-data-are-treated-as-rows-of-strings-by-csv-file/56247/3 "2021-03-01T12:59:00Z")

</div>

```julia
using DataFrames
using HTTP
using CSV

df=DataFrame(CSV.File(HTTP.get("http://www.ioffe.ru/astro/NSG/NSEOS/sly4.dat").body;
    header=false,skipto=7,delim=" ",ignorerepeated=true))

```

Or without DataFrames of course.
