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/05/21 20:41: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:
-----------------------------
Description:
{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}
was:
{code:java}
> is.na(NaN)
[1] TRUE
> is.na(Scalar$create(NaN))
[1] FALSE{code}
> [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
> Priority: Major
>
> {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)