The main change is a refactor of the write_data_table and calculate_spans functions. This required to change the Worksheet.table to use BTreeMaps because we need the keys to be ordered.
Some secondary changes were made to the functions inside the main loop of write_data_table.
Note: the code in calculate_spans is still indexing the rows. I wasn't sure if I could safely change it to an iteration.
The main change is a refactor of the
write_data_table
andcalculate_spans
functions. This required to change theWorksheet.table
to useBTreeMap
s because we need the keys to be ordered.Some secondary changes were made to the functions inside the main loop of
write_data_table
.Note: the code in
calculate_spans
is still indexing the rows. I wasn't sure if I could safely change it to an iteration.