17 18 19 20 21 22 23
# File 'lib/arrow-numo-narray/to-arrow.rb', line 17 def to_arrow Arrow::Tensor.new(arrow_data_type, Arrow::Buffer.new(to_binary), shape, nil, nil) end