@@ -218,7 +218,7 @@ class HDFStore(object):
218
218
complevel : int, 1-9, default 0
219
219
If a complib is specified compression will be applied
220
220
where possible
221
- complib : {'zliu ', 'bzip2', 'lzo', 'blosc', None}, default None
221
+ complib : {'zlib ', 'bzip2', 'lzo', 'blosc', None}, default None
222
222
If complevel is > 0 apply compression to objects written
223
223
in the store wherever possible
224
224
fletcher32 : bool, default False
@@ -711,7 +711,8 @@ def create_table_index(self, key, **kwargs):
711
711
def groups (self ):
712
712
""" return a list of all the top-level nodes (that are not themselves a pandas storage object) """
713
713
_tables ()
714
- return [ g for g in self ._handle .walkNodes () if getattr (g ._v_attrs ,'pandas_type' ,None ) or getattr (g ,'table' ,None ) or (isinstance (g ,_table_mod .table .Table ) and g ._v_name != u'table' ) ]
714
+ return [ g for g in self ._handle .walkNodes () if getattr (g ._v_attrs ,'pandas_type' ,None ) or getattr (
715
+ g ,'table' ,None ) or (isinstance (g ,_table_mod .table .Table ) and g ._v_name != u'table' ) ]
715
716
716
717
def get_node (self , key ):
717
718
""" return the node with the key or None if it does not exist """
@@ -731,7 +732,8 @@ def get_storer(self, key):
731
732
s .infer_axes ()
732
733
return s
733
734
734
- def copy (self , file , mode = 'w' , propindexes = True , keys = None , complib = None , complevel = None , fletcher32 = False , overwrite = True ):
735
+ def copy (self , file , mode = 'w' , propindexes = True , keys = None , complib = None , complevel = None ,
736
+ fletcher32 = False , overwrite = True ):
735
737
""" copy the existing store to a new file, upgrading in place
736
738
737
739
Parameters
@@ -845,7 +847,8 @@ def error(t):
845
847
except :
846
848
error ('_TABLE_MAP' )
847
849
848
- def _write_to_group (self , key , value , index = True , table = False , append = False , complib = None , encoding = None , ** kwargs ):
850
+ def _write_to_group (self , key , value , index = True , table = False , append = False ,
851
+ complib = None , encoding = None , ** kwargs ):
849
852
group = self .get_node (key )
850
853
851
854
# remove the node if we are not appending
@@ -870,7 +873,8 @@ def _write_to_group(self, key, value, index=True, table=False, append=False, com
870
873
group = self ._handle .createGroup (path , p )
871
874
path = new_path
872
875
873
- s = self ._create_storer (group , value , table = table , append = append , encoding = encoding , ** kwargs )
876
+ s = self ._create_storer (group , value , table = table , append = append ,
877
+ encoding = encoding , ** kwargs )
874
878
if append :
875
879
# raise if we are trying to append to a non-table,
876
880
# or a table that exists (and we are putting)
0 commit comments