Skip to content

[R] is.na() evaluates to FALSE on Arrow NaN values #27883

@asfimport

Description

@asfimport
> is.na(NaN)
[1] TRUE 

> is.na(Scalar$create(NaN))
[1] FALSE

FWIW, NumPy/pandas also behaves like R in this regard:

> pd.isna(np.nan)
True

Reporter: Ian Cook / @ianmcook
Assignee: Ian Cook / @ianmcook

Related issues:

Note: This issue was originally created as ARROW-12055. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions