diff options
author | dmosberger <davidm@egauge.net> | 2020-12-04 01:10:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 10:10:02 +0200 |
commit | e8f54811c7128d6ee849d072f27459e9b9322034 (patch) | |
tree | 273d2b67f20021d10ebaa0dcc5d611d282dbe130 /docs | |
parent | e8774043ed6496ac9664d0b4cf5bb7305f92c007 (diff) | |
download | tablib-master.tar.gz |
Diffstat (limited to 'docs')
-rw-r--r-- | docs/formats.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/formats.rst b/docs/formats.rst index 0c46733..2357efe 100644 --- a/docs/formats.rst +++ b/docs/formats.rst @@ -206,6 +206,15 @@ Import/export data in Excel 07+ Spreadsheet representation. This format is optional, install Tablib with ``pip install "tablib[xlsx]"`` to make the format available. +The ``import_set()`` and ``import_book()`` methods accept keyword +argument ``read_only``. If its value is ``True`` (the default), the +XLSX data source is read lazily. Lazy reading generally reduces time +and memory consumption, especially for large spreadsheets. However, +it relies on the XLSX data source declaring correct dimensions. Some +programs generate XLSX files with incorrect dimensions. Such files +may need to be loaded with this optimization turned off by passing +``read_only=False``. + .. note:: When reading an ``xlsx`` file containing formulas in its cells, Tablib will |