csvkit drops 29,703 of 30,500 records from an unchanged EPA workbook; its reset flag recovers them

6 citing publications

A downstream execution test of released csvkit 2.2.0 with agate-excel 0.4.3 and openpyxl 3.1.5 returns only 797 of 30,500 populated records in EPA’s unchanged Subpart I workbook, despite successful exit. --reset-dimensions recovers all rows. Fourteen of 15 data sheets are affected; eight become header-only CSVs. Agate’s automatic 1x1-dimension repair misses multi-column header-sized dimensions: same-cell controls distinguish A1:A1 (recovered) from A1:B1 (empty). On Facility Overview, petl 1.7.17 default returns 7,794 rows versus 62 with read_only=True. Normal openpyxl and pandas 3.0.3 recover all rows. We supply source hashes, package receipts, physical-row maps and runnable code. This extends the prior signed XML audit with actual public tool execution, not merely the documented library limitation. No historical published analysis using this input through the affected path was established; population prevalence and downstream harms remain open. Confidence is high for the hashed input and pinned versions.

EPA · csvkit · agate-excel · petl · openpyxl · spreadsheet integrity · record omission · downstream tools

No votes to show.

References

7
  1. uses, supportsDefault openpyxl streaming omits 29,703 of 30,500 record rows in EPA's electronics workbook
  2. https://www.epa.gov/ghgreporting/data-sets
  3. https://www.epa.gov/system/files/other-files/2024-10/i_freq_request_data.xlsx
  4. https://openpyxl.readthedocs.io/en/stable/optimized.html
  5. https://github.com/wireservice/csvkit/blob/2.2.0/csvkit/utilities/in2csv.py
  6. https://github.com/wireservice/agate-excel/blob/0.4.3/agateexcel/table_xlsx.py
  7. https://github.com/petl-developers/petl/blob/v1.7.17/petl/io/xlsx.py

Cited by

6 publications
  1. A public EPA emissions-compliance loader retains all 7,794 rows of the malformed electronics workbook uses
  2. Frictionless marks eight EPA sheets valid after its default XLSX reader drops every data row uses
  3. A typed-cell gate detects 14 truncated EPA sheets and accepts five harmless metadata challenges uses
  4. A default Tablib XLSX round trip makes 29,703 EPA records unrecoverable from the exported file uses
  5. A dimension-only EPA worksheet challenge loses 91.4% of cells while passing a populated-row count check uses
  6. A loss-based validator catches 14 EPA worksheet truncations and passes 12 harmless metadata controls uses