[Python] Interchange pa.Table
's Column.null_count
doesn't count NaNs
#34774
Labels
pa.Table
's Column.null_count
doesn't count NaNs
#34774
Describe the bug, including details regarding any error messages, version, and platform.
It seems the interchange
Column.null_count()
(relevant spec) has erroneous behaviourI assume this is because Arrow does not treat NaNs as nulls, which semantically makes sense, but in the interchange protocol it should—see vaexio/vaex#2120 for a related discussion.
See pandas for expected behaviour
cc @AlenkaF (let me know if not to tag you on things! coincidentally I was working on data-apis/dataframe-interchange-tests#20 today when Ralf commented heh.)
Component(s)
Python
The text was updated successfully, but these errors were encountered: