Skip to content

Commit e09743f

Browse files
committed
fix copy
1 parent 73f438c commit e09743f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/arrays.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ cdef class BitmaskArray:
481481
if ckey >= 0 and ckey < self.bitmap.size_bits:
482482
return bool(ArrowBitGet(self.bitmap.buffer.data, ckey))
483483
elif is_null_slice(key):
484-
return self.copy()
484+
return self
485485
elif isinstance(key, slice) and self.ndim == 1:
486486
# fastpath for slices that start at 0 and step 1 at a time
487487
# towards a positive number.

0 commit comments

Comments
 (0)