From 1b3a8f5e64d0045c0a88236307aa4265e9365856 Mon Sep 17 00:00:00 2001 From: tp Date: Tue, 26 May 2020 07:22:33 +0100 Subject: [PATCH] failed doctest --- pandas/core/arrays/string_.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index a07a21e0dba878..a803224881af3b 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -168,6 +168,8 @@ class StringArray(PandasArray): raise an error: >>> pd.arrays.StringArray(np.array([1, 2])) + Traceback (most recent call last) + ... ValueError: StringArray requires a sequence of strings or pandas.NA For comparison methods, this returns a :class:`pandas.BooleanArray`