[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alternative missing values in readcsv?
From: |
fw |
Subject: |
Alternative missing values in readcsv? |
Date: |
Tue, 16 Feb 2010 05:11:11 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Is there a way to specify alternative missing values when reading a csv file?
For example, if I read the line "1,,100,0,10", the matrix will be [1 0 100 0
10], while I would MUCH prefer to get [1 nan 100 0 10].
I realize that i can use another program to alter the input file, but that
seems unnecessarily painful.
(pardon the cross posting to the matlab group, but I have a feeling I might get
a different set of answers here...)
- Alternative missing values in readcsv?,
fw <=