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

mrocklin / dask / 544
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: astype-passthrough
DEFAULT BRANCH: master
Ran 02 Jun 2015 03:15PM UTC
Jobs 1
Files 49
Run time 4s
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
544

push

travis-ci

mrocklin
Index one array with another boolean dask.array

This allows for fancy indexing of the following form:

Example
-------

    In [1]: import numpy as np

    In [2]: import dask.array as da

    In [3]: x = np.array([2, 1, 5, 2, 1])

    In [4]: d = da.from_array(x, chunks=2)

    In [5]: d[d > 1]
    Out[5]: array([2, 5, 2])

Historically we have avoided operations like this for which we don't
know the shape of the output.  We get around this issue by computing
immediately.  I'm considering extending this approach to other
operations going forwards.

11 of 11 new or added lines in 1 file covered. (100.0%)

4806 of 5133 relevant lines covered (93.63%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 544.2 02 Jun 2015 03:15PM UTC 0
93.63
Travis Job 544.2
Source Files on build 544
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #544
  • 4dc96ef0 on github
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