Skip to content

Commit 4505920

Browse files
author
Adrian Teng
committed
Use internal lz4
1 parent d6d8b45 commit 4505920

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arctic/store/_pandas_ndarray_store.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import ast
22
import logging
33

4-
import lz4
54
import numpy as np
65
from bson.binary import Binary
76
from pandas import DataFrame, Series, Panel
@@ -119,7 +118,7 @@ def get_info(self, version):
119118

120119
def read_segment_last_dt(self, version):
121120
if 'segment_index' in version:
122-
index = np.fromstring(lz4.decompress(version['segment_index']), dtype=INDEX_DTYPE)
121+
index = np.fromstring(decompress(version['segment_index']), dtype=INDEX_DTYPE)
123122
dt_index = self._datetime64_index(index)
124123
if dt_index:
125124
return index[dt_index][-1]

0 commit comments

Comments
 (0)