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

pvlib / pvanalytics / 504 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 Jul 2020 02:32PM UTC
Files 29
Run time 1min
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

13 Jul 2020 02:17PM UTC coverage: 100.0%. Remained the same
504.3

push

travis-ci

wfvining
Don't resample dataframe, capture 'hours' in closure environment

Different versions of Pandas seem to have different bahavior when
resampling a DataFrame. Newer versions (> 1.0) pass a Series to the
function in `apply()`, dropping all other columns from the
DataFrame. This means that the function cannot operate on more than
one column at a time. To work around that we create a new series for
the hour-of-day (the x-values for integration) and cature it in the
closure environment. I think this should perform well enough, this is
also only for the 'slow case' where the timestamp spacing is
irregular.

870 of 870 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 504.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 461
  • Travis Job 504.3
  • 84217d7e on github
  • Prev Job for on daily-irradiance-limits (#502.1)
  • Next Job for on daily-irradiance-limits (#506.4)
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