sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer ff4198865b42ee2f6f99f3f6f83fed68ef4ffbc7,"ENH: keepdims=True for xarray reductions (#3033) * ENH: keepdims=True for xarray reductions Addresses #2170 Add new option `keepdims` to xarray reduce operations, following the behaviour of Numpy. `keepdims` may be passed to reductions on either Datasets or DataArrays, and will result in the reduced dimensions being still present in the output with size 1. Coordinates that depend on the reduced dimensions will be removed from the Dataset/DataArray * Set the default to be `False` * Correct lint error * Apply suggestions from code review Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * Add test for dask and fix implementation * Move 'keepdims' up to where 'dims' is set * Fix lint, add test for scalar variable",2019-06-23T09:18:32Z,2019-06-23T09:18:32Z,d1b38379cd5800b7b69a7a1debcff7e12d442de0,f10b21bed2846b879806f87039b77245b18e7671,13221727,,1217238