BUG: clip with a list-like threshold with a nan is broken #19992
Labels
Bug
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
xref #19976
.clip
is basically a single or double signed where, where there is anan
present we just drop the bound entirely which is not correct. A fix for this would also fix #19976. So [31] should yield [30], however for scalars we ignore the nans, so maybe could do that here.The text was updated successfully, but these errors were encountered: