# CSV.Rows usage & Tables.jl interface

**URL:** <https://discourse.julialang.org/t/csv-rows-usage-tables-jl-interface/72120>\
**Category:** Data\
**Tags:** csv, io\
**Created:** [November 26, 2021, 3:11pm UTC](https://discourse.julialang.org/t/csv-rows-usage-tables-jl-interface/72120 "2021-11-26T15:11:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [November 26, 2021, 3:34pm UTC](https://discourse.julialang.org/t/csv-rows-usage-tables-jl-interface/72120/2 "2021-11-26T15:34:56Z")

</div>

It looks like you are trying to work around the way `for`-loop scoping works in Julia. See [this post](https://discourse.julialang.org/t/tips-to-cope-with-scoping-rules-of-top-level-for-loops-etc/24902) for workarounds. Just put your code in a function and you won’t have to worry about it.

---

_[View the full topic](https://discourse.julialang.org/t/csv-rows-usage-tables-jl-interface/72120)._
