You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/08/11 14:19:00 UTC

[jira] [Commented] (ARROW-9687) [C++][Compute] Optionally ignore NaN in sum kernel

    [ https://issues.apache.org/jira/browse/ARROW-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175603#comment-17175603 ] 

Neal Richardson commented on ARROW-9687:
----------------------------------------

I think ARROW-9054 covers this; can you confirm? 

> [C++][Compute] Optionally ignore NaN in sum kernel
> --------------------------------------------------
>
>                 Key: ARROW-9687
>                 URL: https://issues.apache.org/jira/browse/ARROW-9687
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Yibo Cai
>            Priority: Major
>
> For floating types, sum kernel returns NaN if there's at least one NaN in the input array.
>  It's useful to provide an option to ignore NaN(treat as 0) in summing, similar to [numpy.nansum|https://numpy.org/doc/stable/reference/generated/numpy.nansum.html].



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