Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle missing values #97

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

handle missing values #97

gka opened this issue Apr 12, 2012 · 1 comment
Assignees
Milestone

Comments

@gka
Copy link

gka commented Apr 12, 2012

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.

@ghost ghost assigned iros Apr 23, 2012
iros pushed a commit that referenced this issue Apr 24, 2012
…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.
@iros
Copy link
Member

iros commented Apr 24, 2012

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 as completed Apr 24, 2012
iros pushed a commit that referenced this issue Jun 13, 2012
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants