handle missing values #97

Closed
gka opened this Issue Apr 12, 2012 · 1 comment

2 participants

@gka

If you import csv into R there's a setting for describing the notation of missing values in that file.

data <- read.csv("data.csv", na.strings="n/a")

With that bit of information R is able to detect numerical columns even if there are those NA strings in it. It would be great to have a similar feature in miso.dataset.

@iros iros added a commit that referenced this issue Apr 24, 2012
@iros iros Issue #97 - Allowing overriding of empty value. set emptyValue : Some…
…Val to use that value instead of null. Note, that if you use a value that is not in line with your column type, it will confuse the detection and possibly mislabel your column as mixed.
57020f9
@iros
The Miso Project member

set emptyValue : 0, to use that empty value during csv parsing. Note that if the type of empty value is not null or undefined, it should match the expected type of your column, otherwise it might break detection of column type.

@iros iros closed this Apr 24, 2012
@iros iros added a commit that referenced this issue Jun 13, 2012
@iros iros Issue #97 - Allowing overriding of empty value. set emptyValue : Some…
…Val to use that value instead of null. Note, that if you use a value that is not in line with your column type, it will confuse the detection and possibly mislabel your column as mixed.
abf0172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment