• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pydata / xarray / 7417 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 23 Jun 2019 09:22AM UTC
Files 108
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jun 2019 09:18AM UTC coverage: 66.305% (+0.004%) from 66.301%
CONDA_ENV=py35-min

push

travis-ci

shoyer
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

20249 of 30539 relevant lines covered (66.31%)

0.66 hits per line

Source Files on job 7417.1 (CONDA_ENV=py35-min)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6769
  • Travis Job 7417.1
  • ff419886 on github
  • Prev Job for CONDA_ENV=py35-min on master (#7415.1)
  • Next Job for CONDA_ENV=py35-min on master (#7422.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc