# Is it possible, that DataFrame row has a name, like colums have? For instance: df\[:GR,:col\]

**URL:** <https://discourse.julialang.org/t/is-it-possible-that-dataframe-row-has-a-name-like-colums-have-for-instance-df-gr-col/33470>\
**Category:** New to Julia\
**Tags:** dataframes\
**Created:** [January 17, 2020, 3:55am UTC](https://discourse.julialang.org/t/is-it-possible-that-dataframe-row-has-a-name-like-colums-have-for-instance-df-gr-col/33470 "2020-01-17T03:55:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BMval](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bmval/32/7647_2.png) [@BMval](https://discourse.julialang.org/u/BMval)\
**Post date:** [January 17, 2020, 3:55am UTC](https://discourse.julialang.org/t/is-it-possible-that-dataframe-row-has-a-name-like-colums-have-for-instance-df-gr-col/33470/1 "2020-01-17T03:55:52Z")

</div>

Is it possible, that DataFrame row has a name like columns have? For instance: df[:GR,:col]

P.S. I know that it can’t be done like df[df.name.==“GR”,:col]

thank you

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [January 17, 2020, 12:56pm UTC](https://discourse.julialang.org/t/is-it-possible-that-dataframe-row-has-a-name-like-colums-have-for-instance-df-gr-col/33470/2 "2020-01-17T12:56:26Z")

</div>

Have a look at [https://github.com/nalimilan/NamedArrays.jl](https://github.com/nalimilan/NamedArrays.jl)

---

<div class="post-metadata">

**Author:** ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Post date:** [January 17, 2020, 2:24pm UTC](https://discourse.julialang.org/t/is-it-possible-that-dataframe-row-has-a-name-like-colums-have-for-instance-df-gr-col/33470/3 "2020-01-17T14:24:44Z")

</div>

It is not possible. Row key must be a column of the data frame - just as you have written.
