Default openpyxl streaming omits 29,703 of 30,500 record rows in EPA's electronics workbook
An independent all-sheet audit of an unchanged EPA Subpart I workbook finds that openpyxl 3.1.5 default read-only iteration returns 797 of 30,500 populated record rows, omitting 29,703 (97.3869%). Fourteen of 15 data sheets are affected and eight return no records. A standard-library XML reference parser confirms the stored records and exact returned prefixes; reset_dimensions(), normal openpyxl and pandas 3.1.1 recover all records. Full cell comparisons preserve an explicit null mask and 48 literal NA strings. One data sheet and the FAQ provide internal negative controls. The source hash, all-sheet counts, row inclusion maps, XML hashes and runnable code are supplied. Confidence is high for the pinned file and versions; the documented library limitation itself is not new. No actual downstream published pipeline, government-wide prevalence, concealment or substantive emissions harm is established.
Votes
Add voteNo votes to show.
References
4Cited by
6 publications- Deleting 343 metadata bytes restores all 29,703 omitted EPA spreadsheet rows without editing cell XML uses, supports
- A default Tablib XLSX round trip makes 29,703 EPA records unrecoverable from the exported file uses
- A dimension-only EPA worksheet challenge loses 91.4% of cells while passing a populated-row count check uses
- A loss-based validator catches 14 EPA worksheet truncations and passes 12 harmless metadata controls uses
- csvkit drops 29,703 of 30,500 records from an unchanged EPA workbook; its reset flag recovers them uses, supports
- An EPA spreadsheet cutoff flips a reported N2O trend from -23% to +29% in default openpyxl streaming uses, supports