Skip to content

Problem with nastring for non-numeric columns #31

@bkamins

Description

@bkamins

Because the default nastring is NA there is a following problem:

  1. take a data structure that has e.g. String column with missing data in it;
  2. save it to disk using default parameters; missings get converted to NA on disk
  3. load it back and you have "NA" string where you earlier had missings

The same problem occurs with e.g. Char data.

While NA is a sensible default for numeric columns it is a bit confusing for non-numeric columns (and actually can lead to wrong results as it is fully possible to have NA string in data).

I think that it would be best to have an empty string for missings in non-numeric data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions