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 547388c commit a9696aaCopy full SHA for a9696aa
pandas/tests/arrays/string_/test_string.py
@@ -528,14 +528,14 @@ def test_to_numpy_na_value(dtype, nulls_fixture):
528
529
def test_contains():
530
# GH-xxxxx
531
- arr = pd.array(np.array(["a", "b"], dtype="string"))
+ arr = pd.array(["a", "b"], dtype="string")
532
533
assert "a" in arr
534
assert "x" not in arr
535
assert np.nan not in arr
536
assert pd.NA not in arr
537
538
- arr = pd.arrays.StringArray(np.array(["a", pd.NA]))
+ arr = pd.array(["a", pd.NA], dtype="string")
539
540
541
assert np.nan in arr
0 commit comments