aboutsummaryrefslogtreecommitdiff
path: root/qolab/file_utils
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 18:39:07 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 18:39:07 -0400
commit564efc6d76e2f61f8a0421182701161321339582 (patch)
treea0f3bd62c40c07c69f7a212d695b19d563765c56 /qolab/file_utils
parent52bfae2b52b76186e61e9d5555fb5bfe021d29d9 (diff)
downloadqolab-564efc6d76e2f61f8a0421182701161321339582.tar.gz
qolab-564efc6d76e2f61f8a0421182701161321339582.zip
better doc string
Diffstat (limited to 'qolab/file_utils')
-rw-r--r--qolab/file_utils/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qolab/file_utils/__init__.py b/qolab/file_utils/__init__.py
index ab674ae..8d403e8 100644
--- a/qolab/file_utils/__init__.py
+++ b/qolab/file_utils/__init__.py
@@ -134,7 +134,10 @@ def save_table_with_header(
- None : no compression (default)
- gzip : gzip method of compression
- bzip : bzip2 method of compression
- compresslevel : 9 (default) the highest compression, 0 no compression at all, as it is defined for gzip in Lib/gzip.py
+ compresslevel : 0 to 9 (default)
+ Compression level as it is defined for gzip in Lib/gzip.py
+ - 0 : no compression at all
+ - 9 : the highest compression (default)
match_filename_to_compression: True (default) or False
If True changes the filename suffix in accordance with compression method,
e.g. 'data.dat' -> 'data.dat.gz' if compression is set to 'gzip',