Skip to content

Add a NaN policy for criteria aggregation #69

Description

@baptistehamon

Addressing a Problem?

Currently, there isn't any way for user to specify how aggregate should handle NaN, while in some use cases it can be useful to have this option.

Potential Solution

All backend aggregation methods used in aggregate have a parameter to set how NaN should be treated Then, adding a parameter (nan_policy or dropna ...) to aggregate and passing it to the under layer aggregation methods would solve this issue. There is a little bit more work for limfactor method.

Additional Context

No response

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions