summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 71f4f71..348b88f 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -392,6 +392,15 @@ class Dataset(object):
@property
def xlsx():
+ """An Excel Spreadsheet representation of the :class:`Dataset` object, with :ref:`separators`. Cannot be set.
+
+ .. admonition:: Binary Warning
+
+ :class:`Dataset.xlsx` contains binary data, so make sure to write in binary mode::
+
+ with open('output.xlsx', 'wb') as f:
+ f.write(data.xlsx)'
+ """
pass