Skip to content

A library that provides conversion method between Apache Arrow and NMatrix

License

Notifications You must be signed in to change notification settings

red-data-tools/red-arrow-nmatrix

Repository files navigation

README

Name

Red Arrow NMatrix

Description

Red Arrow NMatrix is a library that provides converters between Apache Arrow's tensor data (Arrow::Tensor) and NMatrix's matrix data (NMatrix).

Red Arrow NMatrix adds Arrow::Tensor#to_nmatrix for Apache Arrow to NMatrix conversion. Red Arrow NMatrix adds NMatrix#to_arrow for NMatrix to Apache Arrow conversion.

Install

% gem install red-arrow-nmatrix

Usage

require "arrow-nmatrix"

tensor.to_nmatrix # -> An object of NMatrix

matrix.to_arrow   # -> An object of Arrow::Tensor

Dependencies

Authors

License

Apache License 2.0. See doc/text/apache-2.0.txt for details.

(Kouhei Sutou has a right to change the license including contributed patches.)

About

A library that provides conversion method between Apache Arrow and NMatrix

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •