BUG: Arugment nan_as_null is unused in __dataframe__ calls. #61025
Labels
Clean
Closing Candidate
May be closeable, needs more eyeballs
Interchange
Dataframe Interchange Protocol
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
Issue Description
The arugment nan_as_null is unused in dataframe calls (Line 904 in frame.py) and should be removed. A comment notes that "nan_as_null is DEPRECATED and has no effect. Please avoid using it; it will be removed in a future release". nan_as_null has now been removed but the argument is still present in the function call.
The issue was last touched on in 54846. but this was before nan_as_null was supposed to be removed.
Expected Behavior
The argument can be removed if not in use for the sake of clean code.
Installed Versions
v3.0.0.dev0-1976-g6e61cf44ee
The text was updated successfully, but these errors were encountered: