Skip to content

Commit 1b3a8f5

Browse files
committed
failed doctest
1 parent 053dae4 commit 1b3a8f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/arrays/string_.py

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ class StringArray(PandasArray):
168168
raise an error:
169169
170170
>>> pd.arrays.StringArray(np.array([1, 2]))
171+
Traceback (most recent call last)
172+
...
171173
ValueError: StringArray requires a sequence of strings or pandas.NA
172174
173175
For comparison methods, this returns a :class:`pandas.BooleanArray`

0 commit comments

Comments
 (0)