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

dask / dask / 10856
53%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2019 08:44PM UTC
Jobs 2
Files 108
Run time 58min
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
10856

push

travis-ci

web-flow
Modify mean chunk functions to return dicts rather than arrays (#4513)

These functions return two array chunks each:

1.  The sum of the array
2.  The counts of the array

We need to return these as a single intermediate value.

Previously we did this by constructing an empty numpy array and then
assigning into it.  This doesn't work as well with numpy-like arrays
like cupy and sparse.

Now we return a dict containing two arrays.  This is nice in a few ways,
but does mean that we need to replicate the `concatenate=`
functionality within our chunk aggregation and combine functions, which
can be tricky.  This commit fails to do it correctly, but may be a good
start.

After this we would like to implement the same fix for other functions,
notably the `moment_*` functions in this same reductions.py file.

Fixes https://github.com/dask/dask/issues/4481

17196 of 18878 relevant lines covered (91.09%)

1.82 hits per line

Jobs
ID Job ID Ran Files Coverage
3 10856.3 (PYTHON=3.6 NUMPY=1.14.1 PANDAS=0.22.0 TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 25 Feb 2019 08:44PM UTC 0
91.08
Travis Job 10856.3
7 10856.7 (PYTHON=3.6 NUMPY=1.14.1 PANDAS=0.22.0 TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 25 Feb 2019 09:14PM UTC 0
91.09
Travis Job 10856.7
Source Files on build 10856
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10856
  • 119950b0 on github
  • Prev Build on master (#10855)
  • Next Build on master (#10859)
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