# Load large Datamatrix with column and rownames

**URL:** <https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498>\
**Category:** New to Julia\
**Created:** [September 29, 2020, 4:48pm UTC](https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498 "2020-09-29T16:48:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MalteMederacke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maltemederacke/32/18305_2.png) [@MalteMederacke](https://discourse.julialang.org/u/MalteMederacke)\
**Post date:** [September 29, 2020, 4:48pm UTC](https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498/1 "2020-09-29T16:48:56Z")

</div>

I need to read multiple large DataMatrices from a tsv into julia. They have column AND rownames. Do I have to realy read it in first and then slice the first column? What would be the best approach

---

<div class="post-metadata">

**Author:** ![jkbest2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jkbest2/32/7350_2.png) [@jkbest2](https://discourse.julialang.org/u/jkbest2)\
**Post date:** [September 29, 2020, 5:32pm UTC](https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498/2 "2020-09-29T17:32:58Z")

</div>

If you’re trying to read your data in _without_ the row names, you should be able to use the [`select` argument to `CSV.File`](https://juliadata.github.io/CSV.jl/stable/#CSV.File).

---

<div class="post-metadata">

**Author:** ![MalteMederacke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maltemederacke/32/18305_2.png) [@MalteMederacke](https://discourse.julialang.org/u/MalteMederacke)\
**Post date:** [September 29, 2020, 7:40pm UTC](https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498/3 "2020-09-29T19:40:06Z")

</div>

Okay, thank you. Are you implying that there is a way to read them in similar to pandas.indices?

---

<div class="post-metadata">

**Author:** ![jkbest2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jkbest2/32/7350_2.png) [@jkbest2](https://discourse.julialang.org/u/jkbest2)\
**Post date:** [September 29, 2020, 7:45pm UTC](https://discourse.julialang.org/t/load-large-datamatrix-with-column-and-rownames/47498/4 "2020-09-29T19:45:48Z")

</div>

I’m not familiar with pandas, but `select` allows you to pass a function indicating whether or not to read a column.
