# New behaviour due to an update of the package CSV when using CSV.write

**URL:** <https://discourse.julialang.org/t/new-behaviour-due-to-an-update-of-the-package-csv-when-using-csv-write/26442>\
**Category:** Performance\
**Tags:** question\
**Created:** [July 16, 2019, 8:58pm UTC](https://discourse.julialang.org/t/new-behaviour-due-to-an-update-of-the-package-csv-when-using-csv-write/26442 "2019-07-16T20:58:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [July 17, 2019, 6:04am UTC](https://discourse.julialang.org/t/new-behaviour-due-to-an-update-of-the-package-csv-when-using-csv-write/26442/4 "2019-07-17T06:04:46Z")

</div>

As a workaround, you can [`add`](https://julialang.github.io/Pkg.jl/v1/managing-packages/#Adding-packages-1) a specific version of CSV for both manifests, and perhaps [`pin`](https://julialang.github.io/Pkg.jl/v1/managing-packages/#Pinning-a-package-1) it so it is not updated accidentally.

Cf the discussion at

> [@CSV ruins scientific notation](https://discourse.julialang.org/t/csv-ruins-scientific-notation/25835):
>
> I think it’s a bug in CSV but I’m not 100% sure that’s why I ask here first: I wrote some code to convert a txt file into a csv file (basically adding a header and commata). My code: fname = input\_name = split(split(txt\_file,"/")[end], ".")[1] header = ["x","y","z","d"] df = CSV.read(txt\_file, delim=" ", header=header) println(df) CSV.write("../inputs/csv/"\*fname\*".csv", df) The txt file: 1234.56789 4232.45455455 -8789.5455 1.0121325235677855e-11 The print out: fname: test\_123 1×4 Data…

I could not find an open issue at CSV.jl, which would be the first step towards changing this (or allowing it to be customized).

---

_[View the full topic](https://discourse.julialang.org/t/new-behaviour-due-to-an-update-of-the-package-csv-when-using-csv-write/26442)._
