Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12055

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 5.0.0
    • R
    • None

    Description

      > 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

      Attachments

        Issue Links

          Activity

            People

              icook Ian Cook
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: