Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

arrow files #36

Answered by palday
ebruevcen asked this question in Q&A
Sep 14, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

An example conversion from CSV to Arrow using Julia would look like:

using Arrow
using CSV
using DataFrames

csv_path = "some_file.csv"

# read in the data and convert it to a dataframe
df = CSV.read(csv_path, DataFrame)

# do stuff ....

# write out the dataframe as an Arrow table
arrow_path = "some_file.arrow"
Arrow.write(arrow_path, df)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@palday
Comment options

Comment options

You must be logged in to vote
1 reply
@palday
Comment options

Answer selected by ebruevcen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants