Skip to content

Commit 3eab310

Browse files
committed
remove debug (commented) code
1 parent e8711b1 commit 3eab310

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/hashtable.pyx

-4
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,8 @@ cdef class StringHashTable(HashTable):
223223
k = kh_get_str(self.table, buf)
224224
if k == self.table.n_buckets:
225225
kh_put_str(self.table, buf, &ret)
226-
# print 'putting %s, %s' % (val, count)
227226
uniques.append(val)
228227

229-
# return None
230228
return uniques.to_array()
231229

232230
def factorize(self, ndarray[object] values):
@@ -256,7 +254,6 @@ cdef class StringHashTable(HashTable):
256254
labels[i] = count
257255
count += 1
258256

259-
# return None
260257
return reverse, labels
261258

262259
cdef class Int32HashTable(HashTable):
@@ -354,7 +351,6 @@ cdef class Int32HashTable(HashTable):
354351
labels[i] = count
355352
count += 1
356353

357-
# return None
358354
return reverse, labels
359355

360356
cdef class Int64HashTable: #(HashTable):

0 commit comments

Comments
 (0)