Skip to content

Commit 6d72476

Browse files
committed
Complete review request: remove all verbose comments except GH reference
1 parent cd2b41d commit 6d72476

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pandas/tests/frame/indexing/test_where.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,17 +1076,11 @@ def test_where_other_nullable_dtype():
10761076

10771077

10781078
def test_where_inplace_string_array_consistency():
1079-
# GH#46512 - inplace and non-inplace should have consistent behavior
1080-
# for StringArray with NA-like values
1079+
# GH#46512
10811080
df = DataFrame({"A": ["1", "", "3"]}, dtype="string")
10821081
df_inplace = df.copy()
10831082

1084-
# Test non-inplace
10851083
result = df.where(df != "", np.nan)
1086-
1087-
# Test inplace
10881084
df_inplace.where(df_inplace != "", np.nan, inplace=True)
10891085

1090-
1091-
# Results should be identical
10921086
tm.assert_frame_equal(result, df_inplace)

0 commit comments

Comments
 (0)