Before I start, I'm aware of #224 but it is 4 years old and tablib has changed quite extensively since then (dropped Python 2 support, format extensions are now classes, etc) so I thought I'd have a go at it.
It's a WIP and only supports export of dataset, but it supports tags.
I do have a question: Is there a proper way to access a row's tags while iterating over the dataset? The only way I found is to use enumerate and then use the row's index to index into _data which of course if unfavorable.
for row_index, row in enumerate(dataset.dict):
tags = dataset._data[row_index].tags
Hi all.
Before I start, I'm aware of #224 but it is 4 years old and tablib has changed quite extensively since then (dropped Python 2 support, format extensions are now classes, etc) so I thought I'd have a go at it.
It's a WIP and only supports export of dataset, but it supports tags.
The dataset
is exported as
I do have a question: Is there a proper way to access a row's tags while iterating over the dataset? The only way I found is to use
enumerate
and then use the row's index to index into_data
which of course if unfavorable.