You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48)
at java.base/java.lang.String.charAt(String.java:1512)
at tech.tablesaw.columns.numbers.DoubleParser.isPercent(DoubleParser.java:60)
at tech.tablesaw.columns.numbers.DoubleParser.canParse(DoubleParser.java:29)
at tech.tablesaw.io.ColumnTypeDetector.detectType(ColumnTypeDetector.java:155)
at tech.tablesaw.io.ColumnTypeDetector.detectColumnTypes(ColumnTypeDetector.java:100)
at tech.tablesaw.io.FileReader.getColumnTypes(FileReader.java:58)
at tech.tablesaw.io.csv.CsvReader.detectColumnTypes(CsvReader.java:156)
at tech.tablesaw.io.csv.CsvReader.getReaderAndColumnTypes(CsvReader.java:75)
at tech.tablesaw.io.csv.CsvReader.read(CsvReader.java:92)
at tech.tablesaw.io.csv.CsvReader.read(CsvReader.java:87)
at tech.tablesaw.io.csv.CsvReader.read(CsvReader.java:34)
at tech.tablesaw.io.DataFrameReader.usingOptions(DataFrameReader.java:139)
When cheked string is ",", it will be stripped to an empty string, but the followed catch statement do not catch StringIndexOutOfBoundsException exception.
The text was updated successfully, but these errors were encountered:
is
pushed a commit
to is/tablesaw
that referenced
this issue
Jan 13, 2022
The csv file
When cheked string is ",", it will be stripped to an empty string, but the followed catch statement do not catch StringIndexOutOfBoundsException exception.
The text was updated successfully, but these errors were encountered: