nanoarrow.rb
Zero-dependency Arrow library for Ruby, powered by nanoarrow
Installation
Add this line to your application’s Gemfile:
gem "nanoarrow"
Getting Started
Create an Arrow array
arr = Nanoarrow::Array.new([1, 2, 3], Nanoarrow.int32)
Get a Ruby array
arr.to_a
API
This library follows the Python API. You can follow Python tutorials and convert the code to Ruby in many cases. Feel free to open an issue if you run into problems.
History
View the changelog
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development:
git clone https://github.com/ankane/nanoarrow-ruby.git
cd nanoarrow-ruby
bundle install
bundle exec rake compile
bundle exec rake test