We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143139c commit cd2b41dCopy full SHA for cd2b41d
pandas/tests/frame/indexing/test_where.py
@@ -1087,9 +1087,6 @@ def test_where_inplace_string_array_consistency():
1087
# Test inplace
1088
df_inplace.where(df_inplace != "", np.nan, inplace=True)
1089
1090
- # Both should produce pd.NA, not float nan
1091
- assert isinstance(result["A"]._values[1], type(pd.NA))
1092
- assert isinstance(df_inplace["A"]._values[1], type(pd.NA))
1093
1094
# Results should be identical
1095
tm.assert_frame_equal(result, df_inplace)
0 commit comments