# Update a value in DataFrames.jl

**URL:** <https://discourse.julialang.org/t/update-a-value-in-dataframes-jl/43307>\
**Category:** New to Julia\
**Tags:** question, dataframes\
**Created:** [July 18, 2020, 7:41pm UTC](https://discourse.julialang.org/t/update-a-value-in-dataframes-jl/43307 "2020-07-18T19:41:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [July 18, 2020, 8:36pm UTC](https://discourse.julialang.org/t/update-a-value-in-dataframes-jl/43307/2 "2020-07-18T20:36:17Z")

</div>

Just guessing - could it be the same issue as here?

> [@\[ANN\] CSV.jl 0.7 Release](https://discourse.julialang.org/t/ann-csv-jl-0-7-release/42162/36):
>
> I would advise against using DataFrame!(CSV.File(file; kw...)) if you plan on doing any mutating of your data frame. It’s safer to use DataFrame(CSV.File(file; kw...)) Otherwise you’ll run into problems like this: “df.csv” file: x,y a,1 b,2 Code julia\> using DataFrames, CSV julia\> df = DataFrame!(CSV.File("df.csv")) 2×2 DataFrame │ Row │ x │ y │ │ │ String │ Int64 │ ├─────┼────────┼───────┤ │ 1 │ a │ 1 │ │ 2 │ b │ 2 │ julia\> filter!(r -\> r.x == "b", …

Maybe updating your packages helps.

---

_[View the full topic](https://discourse.julialang.org/t/update-a-value-in-dataframes-jl/43307)._
