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

JuliaData / DataFrames.jl / 3233
93%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2018 09:34PM UTC
Jobs 6
Files 20
Run time 15min
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
3233

push

travis-ci

web-flow
Improve performance of by() using NamedTuples (#1520)

Remove GroupApplied and introduce combine(::Function, ::GroupedDataFrame). This avoids
storing a copy of the per-group data returned by the user-provided function. Take advantage of
this by allowing that function to return a NamedTuple. Introduce two completely different
code paths depending on whether the first returned object is DataFrame or a NamedTuple, as
the latter allows for more efficient operation by assuming that it represents a single row.
Use the same progressive eltype widening approach as Base.map so that we fill column vectors
whose types are known inside the kernel functions. This does not eliminate the type unstability
due to the fact that the user-provided function takes a DataFrame, but ensuring type stability for
half of the operations still improves performance significantly.

Also add map(::Function, ::GroupedDataFrame), returning a GroupedDataFrame. Parameterize GroupedDataFrame on the type of data frame it wraps, and make its column index
have a concrete type. Deprecate an old map method for SubDataFrame. Fix a type unstability in hcat!.

126 of 126 new or added lines in 4 files covered. (100.0%)

1477 of 2357 relevant lines covered (62.66%)

6556.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3233.1 08 Nov 2018 09:34PM UTC 0
62.64
Travis Job 3233.1
2 3233.2 08 Nov 2018 09:35PM UTC 0
62.55
Travis Job 3233.2
3 3233.3 08 Nov 2018 09:35PM UTC 0
62.64
Travis Job 3233.3
4 3233.4 08 Nov 2018 09:36PM UTC 0
62.55
Travis Job 3233.4
5 3233.5 08 Nov 2018 09:35PM UTC 0
62.32
Travis Job 3233.5
6 3233.6 08 Nov 2018 09:41PM UTC 0
62.32
Travis Job 3233.6
Source Files on build 3233
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3233
  • bd3e1b42 on github
  • Prev Build on master (#3222)
  • Next Build on master (#3234)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc