scalanlp/breeze

csvread/csvwrite separator

Open

#357 geöffnet am 30. Jan. 2015

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (690 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (3.453 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I only started using breeze a few hours ago so I may be wrong on this.

I tried to load a space separated file but I could only specify one character as a separator. Unfortunately, my dataset's separator is not consistent(2-4 spaces) as are many other datasets. Wouldn't it be better if the separator is a regular expression? That way I can specify separators like: csvread(file, "\\s+") or csvread(file, ",\\s?")

With regards to csvwrite, I may want to use a comma followed by a space.

Cheers

Contributor Guide