@@ -517,10 +517,12 @@ def append_to_multiple(self, d, value, selector, data_columns=None, axes=None, *
517
517
518
518
Parameters
519
519
----------
520
- d : a dict of table_name to table_columns, None is acceptable as the values of one node (this will get all the remaining columns)
520
+ d : a dict of table_name to table_columns, None is acceptable as the values of
521
+ one node (this will get all the remaining columns)
521
522
value : a pandas object
522
- selector : a string that designates the indexable table; all of its columns will be designed as data_columns, unless data_columns is passed,
523
- in which case these are used
523
+ selector : a string that designates the indexable table; all of its columns will
524
+ be designed as data_columns, unless data_columns is passed, in which
525
+ case these are used
524
526
525
527
Notes
526
528
-----
@@ -1051,7 +1053,8 @@ class IndexCol(object):
1051
1053
is_data_indexable = True
1052
1054
is_searchable = False
1053
1055
1054
- def __init__ (self , values = None , kind = None , typ = None , cname = None , itemsize = None , name = None , axis = None , kind_attr = None , pos = None , ** kwargs ):
1056
+ def __init__ (self , values = None , kind = None , typ = None , cname = None , itemsize = None ,
1057
+ name = None , axis = None , kind_attr = None , pos = None , ** kwargs ):
1055
1058
self .values = values
1056
1059
self .kind = kind
1057
1060
self .typ = typ
@@ -1182,7 +1185,8 @@ def validate_col(self, itemsize=None):
1182
1185
if itemsize is None :
1183
1186
itemsize = self .itemsize
1184
1187
if c .itemsize < itemsize :
1185
- raise Exception ("[%s] column has a min_itemsize of [%s] but itemsize [%s] is required!" % (self .cname , itemsize , c .itemsize ))
1188
+ raise Exception ("[%s] column has a min_itemsize of [%s] but itemsize [%s] is required!"
1189
+ % (self .cname , itemsize , c .itemsize ))
1186
1190
return c .itemsize
1187
1191
1188
1192
return None
@@ -1524,7 +1528,8 @@ def validate(self, other):
1524
1528
1525
1529
for c in ['index_axes' , 'non_index_axes' , 'values_axes' ]:
1526
1530
if getattr (self , c , None ) != getattr (other , c , None ):
1527
- raise Exception ("invalid combinate of [%s] on appending data [%s] vs current table [%s]" % (c , getattr (self , c , None ), getattr (other , c , None )))
1531
+ raise Exception ("invalid combinate of [%s] on appending data [%s] vs current table [%s]"
1532
+ % (c , getattr (self , c , None ), getattr (other , c , None )))
1528
1533
1529
1534
@property
1530
1535
def nrows (self ):
@@ -1616,7 +1621,8 @@ def validate_version(self, where=None):
1616
1621
""" are we trying to operate on an old version? """
1617
1622
if where is not None :
1618
1623
if self .version [0 ] <= 0 and self .version [1 ] <= 10 and self .version [2 ] < 1 :
1619
- warnings .warn ("where criteria is being ignored as we this version is too old (or not-defined) [%s]" % '.' .join ([str (x ) for x in self .version ]), IncompatibilityWarning )
1624
+ warnings .warn ("where criteria is being ignored as we this version is too old (or not-defined) [%s]"
1625
+ % '.' .join ([str (x ) for x in self .version ]), IncompatibilityWarning )
1620
1626
1621
1627
@property
1622
1628
def indexables (self ):
0 commit comments