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

[C++] Create a compute function returning indices of non-zero values

    XMLWordPrintableJSON

Details

    Description

      This would be similar to Numpy's nonzero function:
      https://numpy.org/doc/stable/reference/generated/numpy.nonzero.html

      >>> arr = np.array([4,5,0,6,0,5])
      >>> np.nonzero(arr)
      (array([0, 1, 3, 5]),)
      

      Attachments

        Issue Links

          Activity

            People

              amol- Alessandro Molina
              apitrou Antoine Pitrou
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 11.5h
                  11.5h