vmzakharov / dataframe-ec

A tabular data structure (aka a data frame) based on the Eclipse Collections framework
MIT License
51 stars 10 forks source link

Better error message when importing CSV files #8

Closed mehmandarov closed 2 years ago

mehmandarov commented 2 years ago

I believe this line should have been:

`ErrorReporter.reportAndThrow( "The number of elements in the header does not match the number of elements in the data row " + lineIndex + " ("

instead of:

`ErrorReporter.reportAndThrow( "The number of elements in the header does not match the number of elements in the data row " + 1 + " ("

Otherwise it always "does not match the number of elements in the data row 1". I can fix this if it makes sense. 👍