@@ -2931,7 +2931,7 @@ def read_index_node(
29312931 # If the index was an empty array write_array_empty() will
29322932 # have written a sentinel. Here we replace it with the original.
29332933 if "shape" in node ._v_attrs and np .prod (node ._v_attrs .shape ) == 0 :
2934- data = np .empty (node ._v_attrs .shape , dtype = node ._v_attrs .value_type , )
2934+ data = np .empty (node ._v_attrs .shape , dtype = node ._v_attrs .value_type )
29352935 kind = _ensure_decoded (node ._v_attrs .kind )
29362936 name = None
29372937
@@ -4103,7 +4103,7 @@ def create_description(
41034103 return d
41044104
41054105 def read_coordinates (
4106- self , where = None , start : Optional [int ] = None , stop : Optional [int ] = None ,
4106+ self , where = None , start : Optional [int ] = None , stop : Optional [int ] = None
41074107 ):
41084108 """
41094109 select coordinates (row numbers) from a table; return the
@@ -4374,7 +4374,7 @@ def write_data_chunk(
43744374 self .table .flush ()
43754375
43764376 def delete (
4377- self , where = None , start : Optional [int ] = None , stop : Optional [int ] = None ,
4377+ self , where = None , start : Optional [int ] = None , stop : Optional [int ] = None
43784378 ):
43794379
43804380 # delete all rows (and return the nrows)
@@ -4805,7 +4805,7 @@ def _convert_index(name: str, index: Index, encoding: str, errors: str) -> Index
48054805 if inferred_type == "date" :
48064806 converted = np .asarray ([v .toordinal () for v in values ], dtype = np .int32 )
48074807 return IndexCol (
4808- name , converted , "date" , _tables ().Time32Col (), index_name = index_name ,
4808+ name , converted , "date" , _tables ().Time32Col (), index_name = index_name
48094809 )
48104810 elif inferred_type == "string" :
48114811
@@ -4821,13 +4821,13 @@ def _convert_index(name: str, index: Index, encoding: str, errors: str) -> Index
48214821
48224822 elif inferred_type in ["integer" , "floating" ]:
48234823 return IndexCol (
4824- name , values = converted , kind = kind , typ = atom , index_name = index_name ,
4824+ name , values = converted , kind = kind , typ = atom , index_name = index_name
48254825 )
48264826 else :
48274827 assert isinstance (converted , np .ndarray ) and converted .dtype == object
48284828 assert kind == "object" , kind
48294829 atom = _tables ().ObjectAtom ()
4830- return IndexCol (name , converted , kind , atom , index_name = index_name , )
4830+ return IndexCol (name , converted , kind , atom , index_name = index_name )
48314831
48324832
48334833def _unconvert_index (
0 commit comments