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
Code of Conduct
Addressing a Problem?
Currently, there isn't any way for user to specify how
aggregateshould handleNaN, while in some use cases it can be useful to have this option.Potential Solution
All backend aggregation methods used in
aggregatehave a parameter to set howNaNshould be treated Then, adding a parameter (nan_policyordropna...) toaggregateand passing it to the under layer aggregation methods would solve this issue. There is a little bit more work forlimfactormethod.Additional Context
No response
Contribution
Code of Conduct