We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2372bce commit 95348b6Copy full SHA for 95348b6
pandas/_libs/internals.pyx
@@ -141,10 +141,10 @@ cdef class BlockPlacement:
141
142
return BlockPlacement(val)
143
144
- def delete(self, loc) -> "BlockPlacement":
+ def delete(self, loc) -> BlockPlacement:
145
return BlockPlacement(np.delete(self.as_array, loc, axis=0))
146
147
- def append(self, others) -> "BlockPlacement":
+ def append(self, others) -> BlockPlacement:
148
if not len(others):
149
return self
150
@@ -185,7 +185,7 @@ cdef class BlockPlacement:
185
val = newarr
186
187
188
- def add(self, other) -> "BlockPlacement":
+ def add(self, other) -> BlockPlacement:
189
# We can get here with int or ndarray
190
return self.iadd(other)
191
0 commit comments