Skip to content

Commit 3eca2fb

Browse files
committed
revert sparse edits
1 parent eae9101 commit 3eca2fb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pandas/_libs/sparse.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ cdef class BlockIndex(SparseIndex):
618618
pass
619619

620620

621-
@cython.internal
622621
cdef class BlockMerge:
623622
"""
624623
Object-oriented approach makes sharing state between recursive functions a
@@ -662,7 +661,6 @@ cdef class BlockMerge:
662661
self.yi = xi
663662

664663

665-
@cython.internal
666664
cdef class BlockUnion(BlockMerge):
667665
"""
668666
Object-oriented approach makes sharing state between recursive functions a

pandas/_libs/sparse_op_helper.pxi.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ cpdef sparse_{{opname}}_{{dtype}}({{dtype}}_t[:] x,
302302
raise NotImplementedError
303303

304304

305-
cdef sparse_fill_{{opname}}_{{dtype}}({{dtype}}_t xfill,
306-
{{dtype}}_t yfill):
305+
cpdef sparse_fill_{{opname}}_{{dtype}}({{dtype}}_t xfill,
306+
{{dtype}}_t yfill):
307307
return {{(opname, 'xfill', 'yfill', dtype) | get_op}}
308308

309309
{{endfor}}

0 commit comments

Comments
 (0)