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

mrocklin / dask / 544 / 2
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: astype-passthrough
DEFAULT BRANCH: master
Ran 02 Jun 2015 03:15PM UTC
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

02 Jun 2015 03:06PM UTC coverage: 93.629%. First build
544.2

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.

4806 of 5133 relevant lines covered (93.63%)

0.94 hits per line

Source Files on job 544.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 544
  • Travis Job 544.2
  • 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