Skip to content

Interacting with Parquet Files #1903

Answered by Fil
bcrotty asked this question in Q&A
Discussion options

You must be logged in to vote

If you load it with the FileAttachment("").parquet() method, the result is an arrow table; see
https://observablehq.com/framework/lib/arrow for details.

You can transform this into a normal JS array by calling [...values], but if the number of rows is huge, it's not going to be efficient, and I'd recommend using tools that work directly with arrow tables, such as arquero or DuckDB.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants