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

petl-developers / petl / 42975762139
94%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2026 07:03AM UTC
Jobs 1
Files 135
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

11 Nov 2026 06:56AM UTC coverage: 93.748%. Remained the same
42975762139

push

github

web-flow
Handle mixed-type variable names in recast (#807)

`recast()` uses native sorting when discovering output field names, so
valid mixed-type variable values raise `TypeError` before a header can
be emitted. This also breaks a `melt()`/`recast()` round trip for a
table containing an integer year column and a string forecast column:

```python
import petl as etl

table = [('id', 2024, 'forecast'), ('A', 10, 20)]
list(etl.recast(etl.melt(table, key='id'), key='id'))
# TypeError: '<' not supported between instances of 'str' and 'int'
```

PETL's table contract permits non-string header values. The resulting
table should retain the year and forecast columns and their original
values.

Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Juarez Rudsatz <juarezr@gmail.com>

21 of 21 new or added lines in 2 files covered. (100.0%)

6 existing lines in 2 files now uncovered.

16779 of 17898 relevant lines covered (93.75%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
97.64
0.0% petl/transform/reshape.py
1
99.77
0.0% petl/test/transform/test_reshape.py
Jobs
ID Job ID Ran Files Coverage
1 42975762139.1 11 Nov 2026 07:03AM UTC 135
93.75
GitHub Action Run
Source Files on build 42975762139
  • Tree
  • List 135
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9cc6c751 on github
  • Prev Build on master (#42975523213)
  • Next Build on master (#42975938327)
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