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

pydata / xarray / 3767 / 10
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2017 12:09AM UTC
Files 72
Run time 8s
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

19 Oct 2017 11:52PM UTC coverage: 95.296% (+0.1%) from 95.199%
CONDA_ENV=py36-bottleneck-dev

push

travis-ci

shoyer
indexing with broadcasting (#1639)

* Implemented `_broadcast_indexes` in Variable.py

* Diagonal indexing for Variable.

* update _broadcast_indexes. update tests.

* Support basic boolean indexing.

* tests for dask-based Variable

* Explicitly mark xfail flags

* orthogonal indexing for dask.

* Refactor DaskArrayAdapter

* Added MissingDimensionsError. Improve DaskIndexingAdapter, Variable.__getitem__

* use `np.arange(*slice.indices(size))` rather than `np.arange(size)[slice]`.

* Add orthogonalize_indexers

* A bug fix.

* Working with LazilyIndexedArray

* Fix in LazilyIndexedArray.

* add @requires_dask in test_variable

* rename orthogonalize_indexers -> unbroadcast_indexers

* Wrap LazilyIndexedArray so that it accepts broadcasted-indexers

* small rename

* Another small fix

* Remove unused function.

* Added _broadcast_indexes_1vector

* Minor fix

* Avoid doubly wrapping by LazilyIndexedArray

* General orthogonal indexing for dask array.

* Added base class IndexableArrayAdapter

* Deprecate _unbroadcast_indexers and support IndexerTuple classes

* removed unintended prints.

* Some clean up.

* Some small fix.

* Care for boolean array.

* Always map boolean index to integer array.

* Takes care of boolean index in test_indexing

* replace self.assertTrue by assert

* Fix based on shoyer's comments.

* Added `to_tuple()` method to IndexerTuple class.

* Removed: 'orthogonal_indexer', 'canonicalize_indexer'

* update IndexVariable.__getitem__

* Made to_tuple function.

* BASIC_INDEXING_TYPES

* Removed unused function from tests.

* assert -> raise

* Update Dataset.isel

* Use `merge_variables` in checking the consistency.

* Cleanup Dataset.__getitem__

* Add comment about why align() is unneeded

* Ensure correct tests are run in test_variable.py

* Support pointwise indexing with dask

* Add a vindex routine for np.ndarray

* Add an OrderedSet to xarray.core.utils

* Support dask and numpy vindex with one path

* Fix test failures

* working with `Dataset.sel`

* Added more tests

* Changes per review

* Restore `isel_points`. Remove automatic tuple conversion for `sel`

* Some clean up

* Supported indexing by a scalar Variable

* Supported the indexing by DataArray with coordinates.

* Update DataArray.loc and DataArray.sel to use Dataset.loc and Dataset.sel

* Added inhouse normalize_axis_index

* Support an integer key for _advanced_indexer_subspaces

* Add warning for coordinate conflict.

* Warning changes DeprecationWarning -> FutureWarning.

* fix related to pytest.warns

* Another fix related to warning.

* Raise an Error for confusing indexing type

* Minor fix

* Test for indexing by a scalar coordinate.

* Modified test

* Remove too specialized errorning

* Working with docs

* Found a bug in as_variable

* Working with docs

* Enable indexing IndexVariable by multi-dimensional Variable.

* Found a bug in indexing np.ndarray

* Added a test for boolean-DataArray indexing.

* Make sure assignment certainly works.

* Added assignment section

* pep8

* Remove unused tests.

* Add more docs.

* Api.rst changed

* Add link in whats-new

* Small format cleanup

* allow positional indexing with unsigned integer types

* Catch up to the previous merge.

* workaround for daskarray with uint indexer.

* Add a section about assignment, full indexing rules.

* warning added for reindex for DataArray indexers.

* Move warning in alignment.reindex_variables.

* + Change API to attach non-dimensional coordinates.
+ Remove warnings for the coordinate conflict.

* Some clean up. Fix error in test_reindex_warning

* Enable vindex for PandasIndexAdapter.

* Add deprecation warning for isel_points

* Add a sanity check for boolean vectorized indexing.

* Modify tests to take care of the sanity check related to boolean array indexing.

* Another follow up

* pep8

* Clean up sanity checks in broadcast_indexers

* Fix unintended rename

* indexing.rst edits

* remove note about conflicts for now

* Apply coordinate conflict rule.

* Python 2 support

* Add tests for mindex selection.

* Drop coordinate of itself.

* Clean up the coordinate dropping logic.

* A small bug fix in coordinate dropping logic

* Fixes based on jhamman's comments.

* Improve test for warning.

* Remove unused assert sentence.

* Simplify rules for indexing conflicts

* Better error-message for multiindex vectorized-selection.

17890 of 18773 relevant lines covered (95.3%)

0.95 hits per line

Source Files on job 3767.10 (CONDA_ENV=py36-bottleneck-dev)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 20
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3767
  • Travis Job 3767.10
  • 9a0c744c on github
  • Prev Job for CONDA_ENV=py36-bottleneck-dev on master (#3762.10)
  • Next Job for CONDA_ENV=py36-bottleneck-dev on master (#3770.10)
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