# How to change field names and types of a DataFrame

**URL:** <https://discourse.julialang.org/t/how-to-change-field-names-and-types-of-a-dataframe/43991>\
**Category:** Data\
**Tags:** question\
**Created:** [July 30, 2020, 4:46pm UTC](https://discourse.julialang.org/t/how-to-change-field-names-and-types-of-a-dataframe/43991 "2020-07-30T16:46:38Z")\
**Posts on this page:** 1\
**Showing post:** 15

<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:** [August 1, 2020, 10:31am UTC](https://discourse.julialang.org/t/how-to-change-field-names-and-types-of-a-dataframe/43991/15 "2020-08-01T10:31:06Z")

</div>

For future reference, `XLSX.readtable` also has a `infer_eltypes` kwarg that should give back properly typed columns for your DataFrame: [API Reference · XLSX.jl](https://felipenoris.github.io/XLSX.jl/stable/api/#XLSX.readtable)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-change-field-names-and-types-of-a-dataframe/43991)._
