datalad-tabby/datalad_tabby/io
Michał Szczepanik cae025af31 Trim empty rows when converting xlsx to tsv
With this change, excel to tabby conversion will preserve empty lines
in the middle of the file (maybe a visual separation of sections in a
many-objects file), but truncate empty lines at the end (maybe excel
artefact). This requires double iteration over the rows (first to find
where data ends, then to export), but it seems inexpensive.

This should help situations when excel (or calc) xlsx file preserves
blank lines.

One test data file (tsv) used to test round-tripping is altered to
remove empty lines at the end. So in the end we no longer guarantee
round-tripping these empty lines, but I feel this was a non-feature.
2023-11-21 15:54:28 +01:00
..
conventions Fix broken schema.org IRI prefix definition (missed trailing slash) 2023-07-28 21:17:38 +02:00
tests Support sheet convention declaration 2023-07-26 10:03:12 +02:00
__init__.py Restructure io module 2023-07-19 10:53:34 +02:00
load.py Ignore rows where all values are empty strings 2023-11-21 14:19:10 +01:00
load_utils.py Perform document key sanitization for overrides 2023-07-27 09:51:18 +02:00
xlsx.py Trim empty rows when converting xlsx to tsv 2023-11-21 15:54:28 +01:00