# Create a data frame with several self-defined types in Julia

**URL:** <https://discourse.julialang.org/t/create-a-data-frame-with-several-self-defined-types-in-julia/23345>\
**Category:** General Usage\
**Created:** [April 20, 2019, 2:06pm UTC](https://discourse.julialang.org/t/create-a-data-frame-with-several-self-defined-types-in-julia/23345 "2019-04-20T14:06:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bsnyh](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Post date:** [April 20, 2019, 2:32pm UTC](https://discourse.julialang.org/t/create-a-data-frame-with-several-self-defined-types-in-julia/23345/4 "2019-04-20T14:32:49Z")

</div>

I found this link: [Is there a way that I can attach string labels to integer values in CategoricalArrays?](https://discourse.julialang.org/t/is-there-a-way-that-i-can-attach-string-labels-to-integer-values-in-categoricalarrays/8970)  
Is there anything else that can be done using categoricalarray besides

```julia
julia> a = categorical([1,2,1,3])

julia> recode(a, 1=>"a", 2=>"b", 3=>"c")

```

Thank you.

---

_[View the full topic](https://discourse.julialang.org/t/create-a-data-frame-with-several-self-defined-types-in-julia/23345)._
