You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/07/16 20:27:00 UTC

[jira] [Updated] (ARROW-12055) [R] is.na() evaluates to FALSE on Arrow NaN values

     [ https://issues.apache.org/jira/browse/ARROW-12055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Cook updated ARROW-12055:
-----------------------------
    Fix Version/s: 5.0.0

> [R] is.na() evaluates to FALSE on Arrow NaN values
> --------------------------------------------------
>
>                 Key: ARROW-12055
>                 URL: https://issues.apache.org/jira/browse/ARROW-12055
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 3.0.0
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>             Fix For: 5.0.0
>
>
> {code:java}
> > is.na(NaN)
> [1] TRUE 
> > is.na(Scalar$create(NaN))
> [1] FALSE{code}
> FWIW, NumPy/pandas also behaves like R in this regard:
> {code:java}
> > pd.isna(np.nan)
> True{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)