Remove drop_nan
parameter from IndexedFrame._drop_na_rows
.
#10125
Labels
Python
Affects Python cuDF API.
drop_nan
parameter from IndexedFrame._drop_na_rows
.
#10125
While reviewing #10123, I noticed the
drop_nan
parameter should be removed fromIndexedFrame._drop_na_rows
(it should always be treated asTrue
).drop_nan
currently defaults toFalse
but this internal method is only called in one place. In that call,drop_nan
is hard-coded asTrue
.cudf/python/cudf/cudf/core/indexed_frame.py
Lines 1301 to 1303 in baff5cf
Moreover, the corresponding method
_drop_na_columns
does not have such a flag.cudf/python/cudf/cudf/core/frame.py
Line 1242 in baff5cf
This change should target 22.04. A hotfix #10123 affecting this code path is going to go into 22.02.
Originally posted by @bdice in #10123 (comment)
The text was updated successfully, but these errors were encountered: