-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
>>> df = pd.DataFrame([[None]], dtype="int32[pyarrow]")
>>> df.__dataframe__().get_column(0).describe_null
(<ColumnNullType.NON_NULLABLE: 0>, None)
>>> df.__dataframe__().get_column(0).get_buffers()
{'data': (PandasBuffer({'bufsize': 8, 'ptr': 100388886100432, 'device': 'CPU'}), (<DtypeKind.INT: 0>, 32, 'i', '=')), 'validity': None, 'offsets': None}
Issue Description
No mention of nullability even though it is
Expected Behavior
We should at least be sending a bit or a byte mask along through the dataframe api
Installed Versions
main
MarcoGorelli