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

dask / dask / 11356
53%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2019 02:43PM UTC
Jobs 1
Files 108
Run time 6s
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
11356

push

travis-ci

mrocklin
Change cum-aggregation last-nonnull-value algorithm (#4736)

Previously we would use groupby.last in order to get the last non-null value of a partition.  This was suboptimal in two ways:

-  Less advanced dataframe libraries, like cudf, might not implement groupby-last, and so couldn't use this algorithm
-  It was somewhat expensive
-  It failed if there were empty partitions

Our new approach tries two paths:

-  First, use a normal Python for loop and `.iloc` on the last ten rows of a column.  This is faster than the groupby.last call and only uses iloc, which is somewhat more likely to be around.
-  If that didn't work (there are lots of nulls) then use `s[s.notna()][-1]`, which does a full scan, but is doesn't iterate with Python

17192 of 18966 relevant lines covered (90.65%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11356.3 (PYTHON=3.6 NUMPY=1.15.1 PANDAS=0.23.4 TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 27 Apr 2019 02:43PM UTC 0
90.65
Travis Job 11356.3
Source Files on build 11356
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11356
  • 8ce1ab7c on github
  • Prev Build on master (#11353)
  • Next Build on master (#11358)
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