lib/datasets-arrow/arrowable.rb in red-datasets-arrow-0.0.2 vs lib/datasets-arrow/arrowable.rb in red-datasets-arrow-0.0.3

- old
+ new

@@ -10,9 +10,11 @@ raw_table = {} to_table.to_h.each do |name, values| raw_table[name] = Arrow::ArrayBuilder.build(values) end table = Arrow::Table.new(raw_table) + directory = data_path.parent + directory.mkpath unless directory.exist? table.save(data_path) table end end