SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.03k stars 139 forks source link

Fixed keyword parameters warning with Ruby 2.7 #521

Closed ankane closed 4 years ago

ankane commented 4 years ago

Fixes the follow warning with Daru::DataFrame.from_csv:

.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/daru-0.2.2/lib/daru/io/io.rb:234: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
.rbenv/versions/2.7.0/lib/ruby/2.7.0/csv.rb:679: warning: The called method `parse' is defined here
ankane commented 4 years ago

Thanks @v0dro!