Skip to content

[C++] Add option to handle NAs to VarianceOptions #29326

Closed

Description

@asfimport

When calling the "variance", "stddev", "hash_variance", and "hash_stddev" kernels, there is no option to handle NA values and they are currently ignored - could we have an option added, so that if there are NA values, we get an NA back?

Reporter: Nicola Crane / @thisisnic
Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13691. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Aug 23, 2021

    @asfimport
    Author

    David Li / @lidavidm:
    Presumably we should go all the way and support ScalarAggregateOptions (skip_nulls, min_count) here. (Though consequently I wonder if having min_count default to 1 in C++/Python would lead to surprises.)

  2. asfimport commented on Aug 25, 2021

    @asfimport
    Author

    Nicola Crane / @thisisnic:
    Supporting both of those options makes a lot of sense!

  3. asfimport commented on Aug 31, 2021

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    Issue resolved by pull request 11005
    #11005

  4. added this to the 6.0.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions