Skip to content

Commit 9f21f8c

Browse files
committed
wip
1 parent 83370f0 commit 9f21f8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/interchange/column.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,10 @@ def describe_categorical(self):
190190

191191
@property
192192
def describe_null(self):
193-
if self._col.dtype in ("Int64", "Int64[pyarrow]"):
194-
return ColumnNullType.USE_BYTEMASK, 1
193+
if isinstance(self._col.dtype, BaseMaskedDtype):
194+
column_null_dtype = ColumnNullType.USE_BYTEMASK
195+
null_value = 1
196+
return column_null_dtype, null_value
195197
kind = self.dtype[0]
196198
try:
197199
null, value = _NULL_DESCRIPTION[kind]

0 commit comments

Comments
 (0)