Skip to content

Commit 95348b6

Browse files
alimcmaster1CloseChoice
authored andcommitted
Cln cython warnings (pandas-dev#33617)
1 parent 2372bce commit 95348b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/_libs/internals.pyx

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ cdef class BlockPlacement:
141141

142142
return BlockPlacement(val)
143143

144-
def delete(self, loc) -> "BlockPlacement":
144+
def delete(self, loc) -> BlockPlacement:
145145
return BlockPlacement(np.delete(self.as_array, loc, axis=0))
146146

147-
def append(self, others) -> "BlockPlacement":
147+
def append(self, others) -> BlockPlacement:
148148
if not len(others):
149149
return self
150150

@@ -185,7 +185,7 @@ cdef class BlockPlacement:
185185
val = newarr
186186
return BlockPlacement(val)
187187

188-
def add(self, other) -> "BlockPlacement":
188+
def add(self, other) -> BlockPlacement:
189189
# We can get here with int or ndarray
190190
return self.iadd(other)
191191

0 commit comments

Comments
 (0)