cardillo / joinery

Data frames for Java
https://joinery.sh
GNU General Public License v3.0
697 stars 167 forks source link

Support for reading pipe (|) delimited files #60

Closed whiletruelearn closed 6 years ago

whiletruelearn commented 7 years ago

Currently DataFrame.readCsv doesn't support | delimited files.

When using

DataFrame.readCsv("test.txt","|");

we get the below error.

Exception in thread "main" java.lang.IllegalArgumentException: Separator: | is not currently supported

It would be a good to have feature to have multiple separators supported.

cardillo commented 7 years ago

Agree, and should be easy to implement (see http://super-csv.github.io/super-csv/apidocs/org/supercsv/prefs/CsvPreference.html).

whiletruelearn commented 6 years ago

Closing since #62 is merged.