Skip to content

Manage empty values #108

Description

@mikael-s

What would you like?
kuva could ignore missing or unusable values instead of failing to finish the plot.

Use case

Real series may have missing data. Or computer-generated data may contain values such as nan, inf, -inf.
In such cases, kuva will either fail with an error (absent data)

error: Row 2: cannot parse '' as a number

or will produce a partial/strange plot (the data is plot until nan is encountered, or only the axes are drawn with inf)

with a nan value

Image

with the following data:

a,b
1,10
2,8
nan,6
5,4
6,nan

with an inf value

Image

with the following data:

a,b
1,10
2,8
-inf,6
5,4
6,inf

Any prior art?

The plot could look like this, where the missing values would also be missing in the plot.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions