We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790b02b commit 4644b7aCopy full SHA for 4644b7a
pandas/core/interchange/column.py
@@ -353,16 +353,9 @@ def _get_validity_buffer(self) -> tuple[PandasBuffer, Any]:
353
354
if isinstance(self._col.dtype, BaseMaskedDtype):
355
buf = self._col.array._data
356
-
357
mask = self._col.array._mask
358
359
- # Convert the mask array to a Pandas "buffer" using
360
- # a NumPy array as the backing store
361
buffer = PandasBuffer(mask)
362
363
- # Define the dtype of the returned buffer
364
dtype = (DtypeKind.BOOL, 8, ArrowCTypes.BOOL, Endianness.NATIVE)
365
366
return buffer, dtype
367
368
if self.dtype[0] == DtypeKind.STRING:
0 commit comments