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 83370f0 commit 9f21f8cCopy full SHA for 9f21f8c
pandas/core/interchange/column.py
@@ -190,8 +190,10 @@ def describe_categorical(self):
190
191
@property
192
def describe_null(self):
193
- if self._col.dtype in ("Int64", "Int64[pyarrow]"):
194
- return ColumnNullType.USE_BYTEMASK, 1
+ if isinstance(self._col.dtype, BaseMaskedDtype):
+ column_null_dtype = ColumnNullType.USE_BYTEMASK
195
+ null_value = 1
196
+ return column_null_dtype, null_value
197
kind = self.dtype[0]
198
try:
199
null, value = _NULL_DESCRIPTION[kind]
0 commit comments