Skip to content

Missing value token

The token for a value that does not exist

Products write NA, except the fixed-width custom polar, whose numeric format writes missing values as nan in the column's own width. Neither format substitutes a zero or a blank.

  • Not a zero, because zero is a value a row can genuinely have -- an advance ratio at rest is exactly zero and is a measurement -- so a zero written for "no value" is a number a reader would believe.
  • Not a blank, because a blank is indistinguishable from a value that went missing, from a column that never applied, and from a writer that stopped halfway.

The token lives in one place, pyflightstream._tokens.NOT_APPLICABLE, below every layer. Readers still accept - for historical files.