Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Arrow Support #103

Open
dsisnero opened this issue May 1, 2019 · 1 comment
Open

Apache Arrow Support #103

dsisnero opened this issue May 1, 2019 · 1 comment

Comments

@dsisnero
Copy link

dsisnero commented May 1, 2019

Apache Arrow is a cross-language development platform for in-memory data. It is going to be the standard format for all the dataframe type libraries

@christopherzimmerman
Copy link

I have started work on this: https://github.com/crystal-data/arrow.cr. I plan to make it fairly similar to the Ruby implementation, which also uses GObject Introspection. Here is a mini example with basically no code written:

b = Arrow::ArrayBuilder.build([1, 2, 3])
s = Arrow::Int32Array.cast(b)

puts s[-1] # => 3
puts s.to_a(Int32) # => [1, 2, 3]

Fair warning, I'm mostly just doing this to add it as a backend to Num.cr, so there might be some non-numeric features left out, always looking for contributors if anyone is interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants