Closed heronshoes closed 2 years ago
When I used CSV.table without option, header names are automatically converted like;
{:ozone=>20, :solarr=>223, :wind=>11.5, :temp=>68, :month=>9, :day=>30},
should be;
{:Ozone=>20, :"Solar.R"=>223, :Wind=>11.5, :Temp=>68, :Month=>9, :Day=>30}
So I added an option for header and symbolize later when pass to block.
CI test was failed (for a month?) because size of RdatasetsList is too small in cache.
It is reverting @kou 's 'test rdatasets: update expected'(f42e9e8c1d73b6750e598b3fad2ec4ca1cc19ced)
After this fix applied, 265 datasets in Rdatasets are convertible to Arrow table.
https://gist.github.com/heronshoes/e6e4a9f093000f2f7435345874987848
Ruby 2.6/windows test was failed by unintended TCP error so I pushed again with the same code to restart CI test.
Thanks!
This pull request is a solution about #138 .
First, introduce CSV#table to access by column later.
This change is faster than before change.
benchmark_rdataset.yml