-
Notifications
You must be signed in to change notification settings - Fork 22
Is there a way to represent MISSING VALUE in NimData? #27
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
Comments
Strings should be possible via In general, you can always go for |
That's would be good to have |
How would I do that with DateCol? I have a data set with columns of type DateCol but a lot of the values are missing. When I run my app, stdout gets flooded with warnings, which slows down the entire process to the point of unusability. How do I tell NimData that it's ok to have empty values in this column? |
Optional value handling isn't implemented yet, so currently you would have to keep the field as a string if you want to use the schema parser macro for other fields and use your custom It's probably also not difficult to add it to the schema parser macro. I have created a small draft in the branch |
NaN and Missings are different things. The former is a wrong number for example infinity, the latter is just something you don't know its value. |
missing float can be represented by
NaN
then how can int and string type to be expressed as MISSING? using SPACE or ZERO maybe not a good idea? then is there a general way to express the
MISSING VALUE
inNimData
as inPandas
?The text was updated successfully, but these errors were encountered: