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

pydata / xarray / 3157
96%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2017 01:22AM UTC
Jobs 8
Files 66
Run time 13min
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
3157

push

travis-ci

shoyer
Add DatetimeAccessor for accessing datetime fields via `.dt` attribute (#1356)

* Add DatetimeAccessor for accessing datetime fields via `.dt` attribute

* Cleaning up unit tests

* Cleaning up comments and warnings in accessors

* Indirectly access pandas tslib through Series accessors

* Re-factor injection of datetime field accessor properties

* Undo loop/injection of _get_date_field accessors

* Remove public-facing dt property

* Remove extra 'field' argument from _tslib_field_accessor

* Added support for dask arrays

* Added dask test cases
Fixed a bug where data wasn't computed in correct order

* Simplified _get_date_field for both dask/numpy arrays; additional code review cleanups

* Fixing flake8 complaints

* Adding whats-new entry

* Updated timeseries docs with note about dt accessor

* Moved season accessor to DatetimeAccessor

* Re-factor virtual variable logic to lean on DateTimeAccessor

* Added "Returns" documentation to _get_date_field
Fixed imports to facilitate more direct implementation of DateTimeAccessor as a property in DataArray
Moved _access_through_series to a top-level function in accessors.py so that dask serialization will hopefully work a bit better

* Adding timestamp accessor

* Hard-coding expected dtypes for each datetime field

* Fix typo in non-datetime virtual variable access

* Update What's New and timeseries docs

131 of 131 new or added lines in 5 files covered. (100.0%)

16224 of 16655 relevant lines covered (97.41%)

7.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
xarray/core/accessors.py
1
100.0
xarray/core/dataset.py
Jobs
ID Job ID Ran Files Coverage
2 3157.2 (CONDA_ENV=py27-cdat+pynio) 29 Apr 2017 01:25AM UTC 0
96.53
Travis Job 3157.2
3 3157.3 (CONDA_ENV=py34) 29 Apr 2017 01:22AM UTC 0
76.27
Travis Job 3157.3
4 3157.4 (CONDA_ENV=py35) 29 Apr 2017 01:25AM UTC 0
94.0
Travis Job 3157.4
5 3157.5 (CONDA_ENV=py36) 29 Apr 2017 01:25AM UTC 0
94.0
Travis Job 3157.5
6 3157.6 (CONDA_ENV=py36 EXTRA_FLAGS="--run-flaky") 29 Apr 2017 01:29AM UTC 0
94.02
Travis Job 3157.6
8 3157.8 (CONDA_ENV=py36-netcdf4-dev) 29 Apr 2017 01:33AM UTC 0
94.02
Travis Job 3157.8
9 3157.9 (CONDA_ENV=py36-dask-dev) 29 Apr 2017 01:32AM UTC 0
94.0
Travis Job 3157.9
11 3157.11 (CONDA_ENV=py36-condaforge-rc) 29 Apr 2017 01:35AM UTC 0
94.0
Travis Job 3157.11
Source Files on build 3157
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3157
  • 8f6a68e3 on github
  • Prev Build on master (#3155)
  • Next Build on master (#3162)
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