Julia: Support `isapprox` with `missing` values

Created on 12 Jul 2018  路  1Comment  路  Source: JuliaLang/julia

Currently calling isapprox with missing results in a MethodError:

julia> isapprox(missing, missing)
ERROR: MethodError: no method matching isapprox(::Missing, ::Missing)

It's also worth noting that if missing values will be supported by isapprox we may want to also introduce a missings keyword to the function to mirror the nans keyword:

The keyword argument nans determines whether or not NaN values are considered equal (defaults to false)

missing data

Most helpful comment

It seems like if either argument is missing then the answer should be missing, which matches ==.

>All comments

It seems like if either argument is missing then the answer should be missing, which matches ==.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yurivish picture yurivish  路  3Comments

omus picture omus  路  3Comments

musm picture musm  路  3Comments

wilburtownsend picture wilburtownsend  路  3Comments

iamed2 picture iamed2  路  3Comments