Add MaskedArray output option to `accumulate`
Opened this issue · 0 comments
dcunning11235 commented
Currently accumulate
always returns ndarray. When a MaskedArray is used for input (for at least one of the data_in parameters?), would be nice to automatically return a MaskedArray. Additionally, it would be nice to have the option to force output to either a MaskedArray or (plain) ndarray.
All together, something like a output_type
parameter that could be set to "auto", "masked", or "array".