# How to get type of a column using Tables.Schema from Tables.jl?

**URL:** <https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432>\
**Category:** Data\
**Tags:** type, tables\
**Created:** [January 6, 2024, 11:48am UTC](https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432 "2024-01-06T11:48:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![FemtoTrader](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/femtotrader/32/309_2.png) [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Post date:** [January 6, 2024, 8:07pm UTC](https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432/5 "2024-01-06T20:07:39Z")

</div>

I think I have a solution using…

```
julia> sch.types[argmax((sch.names.==:Close))]
Float64

```

But if you have a better one please tell me.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432)._
