lib/yquotes.rb in yquotes-1.9.0 vs lib/yquotes.rb in yquotes-2.0.0
- old
+ new
@@ -42,10 +42,10 @@
end
end
df = nil
- df = Daru::DataFrame.from_csv(file_path, converters: :numeric)
+ df = Daru::DataFrame.from_csv(file_path, converters: [:numeric])
File.delete(file_path) if File.exist?(file_path)
# sort from earlier to latest
df = df.sort ['Date']