diff options
Diffstat (limited to 'tablib/core.py')
| -rw-r--r-- | tablib/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tablib/core.py b/tablib/core.py index 78c4dce..0889845 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -541,14 +541,14 @@ class Dataset(object): .. admonition:: Line endings for Python 3 :class:`Dataset.csv` uses \\r\\n line endings by default so, in Python 3, make - sure to include newline='' otherwise you will get a blank line between each row + sure to include newline='' otherwise you will get a blank line between each row when you open the file in Excel:: with open('output.csv', 'w', newline='') as f: f.write(data.csv) If you do not do this, and you export the file on Windows, your - CSV file will open in Excel with a blank line between each row. + CSV file will open in Excel with a blank line between each row. """ pass |
