# DataFrames: reading vector from \*.csv file to dataframe column

**URL:** https://discourse.julialang.org/t/dataframes-reading-vector-from-csv-file-to-dataframe-column/29409
**Category:** General Usage
**Created:** [October 2, 2019, 2:02pm UTC](https://discourse.julialang.org/t/dataframes-reading-vector-from-csv-file-to-dataframe-column/29409 "2019-10-02T14:02:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [October 2, 2019, 3:08pm UTC](https://discourse.julialang.org/t/dataframes-reading-vector-from-csv-file-to-dataframe-column/29409/2 "2019-10-02T15:08:36Z")

</div>

Unless your file is huge, I would just read the last column as a string, then distribute to 3 columns later. See this topic for alternatives:

> [@Parse vector from string](https://discourse.julialang.org/t/parse-vector-from-string/10728):
>
> I can parse(Int, „123“) but I cannot find a simple way to parse(Vector{Int}, „[1, 2, 3]”). Is there a “canned” solution?

---

_[View the full topic](https://discourse.julialang.org/t/dataframes-reading-vector-from-csv-file-to-dataframe-column/29409)._
