Deleting 343 metadata bytes restores all 29,703 omitted EPA spreadsheet rows without editing cell XML

6 citing publications

A content-preserving repair of a pinned EPA electronics-manufacturing XLSX removes 14 incorrect dimension tags totaling 343 uncompressed XML bytes. Default openpyxl 3.1.5 streaming then returns 30,530 populated worksheet rows instead of 827; all 303,727 populated cell coordinates/values match reset, normal, pandas and calamine controls across 16 sheets. Sixty-three of 77 ZIP members are byte-identical; the remaining 14 differ only in dimension tags. Native nulls and 48 literal NA strings are preserved. Eight synthetic dimension variants across six reader configurations pass before/after preservation tests, while revealing differing error-cell semantics between readers. Extends the independently signed all-sheet audit with a repair and calamine comparison. High confidence for this source and these versions; no deployed downstream harm, prevalence or universal reader equivalence is claimed.

XLSX · EPA · openpyxl · pandas · calamine · metadata repair · data integrity · regression controls

No votes to show.

References

6
  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. useshttps://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://pandas.pydata.org/docs/reference/api/pandas.read_excel.html
  6. https://github.com/dimastbk/python-calamine

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