Skip to content

Commit 5cf7431

Browse files
author
miranov25
committed
use faster compression by default
1 parent cc1ecb4 commit 5cf7431

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

UTILS/dfextensions/AliasDataFrame.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,15 @@ def load(path_prefix):
369369
adf.constant_aliases = set(json.loads(meta[b"constants"].decode()))
370370
return adf
371371

372-
def export_tree(self, filename_or_file, treename="tree", dropAliasColumns=True,compression=uproot.LZMA(level=5)):
372+
def export_tree(self, filename_or_file, treename="tree", dropAliasColumns=True,compression=uproot.ZLIB(level=1)):
373+
"""
374+
uproot.LZMA(level=5)
375+
:param filename_or_file:
376+
:param treename:
377+
:param dropAliasColumns:
378+
:param compression:
379+
:return:
380+
"""
373381
is_path = isinstance(filename_or_file, str)
374382

375383
if is_path:

0 commit comments

Comments
 (0)