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

pydata / xarray / 2823
96%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2017 03:34AM UTC
Jobs 5
Files 41
Run time 7min
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

pending completion
2823

push

travis-ci

web-flow
Shortened display of NumPy arrays in DataArray.__repr__ (#1207)

* Shortened display of NumPy arrays in DataArray.__repr__

This shortens the array portion of DataArray repr to reasonable lengths for high
dimensional arrays:

Array                         | Old length | New length
------------------------------+------------+-----------
np.random.randn(500)          | 167        | 1
np.random.randn(20, 20)       | 150        | 7
np.random.randn(5, 10, 15)    | 254        | 24
np.random.randn(5, 10, 15, 3) | 248        | 19
air_temperature['air']        | 41         | 24
rasm['Tair']                  | 37         | 24

where the last two entries refer to the corresponding datasets loaded from
`xarray.tutorial.load_dataset`.

Importantly, this change does not preclude future improvements, such as those
suggested in GH1044.

* fix spelling

* a little more explanation in what's new

6574 of 6851 relevant lines covered (95.96%)

4.29 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2823.2 (CONDA_ENV=py27-cdat+pynio) 21 Jan 2017 03:37AM UTC 0
83.14
Travis Job 2823.2
3 2823.3 (CONDA_ENV=py34) 21 Jan 2017 03:34AM UTC 0
77.23
Travis Job 2823.3
4 2823.4 (CONDA_ENV=py35) 21 Jan 2017 03:36AM UTC 0
94.29
Travis Job 2823.4
7 2823.7 (CONDA_ENV=py35-dask-dev) 21 Jan 2017 03:37AM UTC 0
80.16
Travis Job 2823.7
9 2823.9 (CONDA_ENV=py35-condaforge-rc) 21 Jan 2017 03:42AM UTC 0
94.29
Travis Job 2823.9
Source Files on build 2823
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2823
  • 601c2625 on github
  • Prev Build on master (#2817)
  • Next Build on master (#2831)
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

© 2026 Coveralls, Inc