Inconsistent behavior between cumulative sum on Dataset and DataArrray - Dataset.cumsum drops coordinate along reduction dim (even though cumsum is not actually a reduction).
DataArray does not do this. The dimension is still there, but as a dimension without a coordinate.
What did you expect to happen?
Expected Dataset to behave like DataArray, without dropping the coordinate.
What happened?
Inconsistent behavior between cumulative sum on Dataset and DataArrray - Dataset.cumsum drops coordinate along reduction dim (even though cumsum is not actually a reduction).
DataArray does not do this. The dimension is still there, but as a dimension without a coordinate.
What did you expect to happen?
Expected Dataset to behave like DataArray, without dropping the coordinate.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
No response
Environment