Closed sivagollapalli closed 7 years ago
@sivagollapalli you've made changes to index.rb and are displaying an error message only for Dataframes with missing vectors. However, an Index is used by both Vector and DataFrame and therefore returning an error message stating a vector is missing from index.rb
is not justified.
If you want better error reporting, you should catch the IndexError in the DataFrame class and change the error message to reflect the fact that a vector is missing from a dataframe.
@v0dro @zverok Could you check the changes?
Please fix Rubocop (https://travis-ci.org/SciRuby/daru/jobs/225581190, you can check it locally by running rubocop
command) before merge.
204