Open
Description
Hi,
We have a seemingly Windows specific issue, where the line breaks of the CSV are not recognised.
I am not sure how to debug this efficiently, because I do not have a Windows computer with a development environment.
Is there anything general I could try to make this more robust across OS?
This is my current code, which opens the tables correctly on a Mac:
final InputStream inputStream = IOHelper.getInputStream( path );
// https://jtablesaw.github.io/tablesaw/userguide/importing_data.html
CsvReadOptions.Builder builder = CsvReadOptions.builder( inputStream )
.separator( separator )
.missingValueIndicator( "na", "none", "nan" )
.sample( numSamples > 0 )
.sampleSize( numSamples )
.columnTypesPartial( nameToType );
final Table rows = Table.read().usingOptions( builder );
And here is the table that creates the problems on Windows:
Metadata
Metadata
Assignees
Labels
No labels