You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "DilumAluthge (via GitHub)" <gi...@apache.org> on 2023/10/22 19:59:24 UTC

Re: [PR] Docs: add a note about using `copy()` to get a `DataFrame` where the columns are regular `Vector`s [arrow-julia]

DilumAluthge commented on code in PR #487:
URL: https://github.com/apache/arrow-julia/pull/487#discussion_r1367961602


##########
docs/src/manual.md:
##########
@@ -66,6 +66,7 @@ So, what can you do with an `Arrow.Table` full of data? Quite a bit actually!
 Because `Arrow.Table` implements the [Tables.jl](https://juliadata.github.io/Tables.jl/stable/) interface, it opens up a world of integrations for using arrow data. A few examples include:
 
 * `df = DataFrame(Arrow.Table(file))`: Build a [`DataFrame`](https://juliadata.github.io/DataFrames.jl/stable/), using the arrow vectors themselves; this allows utilizing a host of DataFrames.jl functionality directly on arrow data; grouping, joining, selecting, etc.
+* `df = copy(DataFrame(Arrow.Table(file)))`: Build a [`DataFrame`](https://juliadata.github.io/DataFrames.jl/stable/), where the columns are regular `Vector`s. This requires that you have enough memory to load the entire DataFrame into memory.

Review Comment:
   @quinnj @bkamins `PooledVector` comes from PooledArrays.jl (https://github.com/JuliaData/PooledArrays.jl), right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org