File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -223,10 +223,8 @@ cdef class StringHashTable(HashTable):
223
223
k = kh_get_str(self .table, buf)
224
224
if k == self .table.n_buckets:
225
225
kh_put_str(self .table, buf, & ret)
226
- # print 'putting %s, %s' % (val, count)
227
226
uniques.append(val)
228
227
229
- # return None
230
228
return uniques.to_array()
231
229
232
230
def factorize (self , ndarray[object] values ):
@@ -256,7 +254,6 @@ cdef class StringHashTable(HashTable):
256
254
labels[i] = count
257
255
count += 1
258
256
259
- # return None
260
257
return reverse, labels
261
258
262
259
cdef class Int32HashTable(HashTable):
@@ -354,7 +351,6 @@ cdef class Int32HashTable(HashTable):
354
351
labels[i] = count
355
352
count += 1
356
353
357
- # return None
358
354
return reverse, labels
359
355
360
356
cdef class Int64HashTable: # (HashTable):
You can’t perform that action at this time.
0 commit comments