@@ -126,10 +126,10 @@ class StringDtype(StorageExtensionDtype):
126126 Examples
127127 --------
128128 >>> pd.StringDtype()
129- <StringDtype(storage='python', na_value=<NA>)>
130-
131- >>> pd.StringDtype(storage="pyarrow")
132129 <StringDtype(na_value=<NA>)>
130+
131+ >>> pd.StringDtype(storage="python")
132+ <StringDtype(storage='python', na_value=<NA>)>
133133 """
134134
135135 @property
@@ -612,7 +612,7 @@ class StringArray(BaseStringArray, NumpyExtensionArray): # type: ignore[misc]
612612 Examples
613613 --------
614614 >>> pd.array(["This is", "some text", None, "data."], dtype="string")
615- <StringArray >
615+ <ArrowStringArray >
616616 ['This is', 'some text', <NA>, 'data.']
617617 Length: 4, dtype: string
618618
@@ -624,15 +624,15 @@ class StringArray(BaseStringArray, NumpyExtensionArray): # type: ignore[misc]
624624 ['1', 1]
625625 Length: 2, dtype: object
626626 >>> pd.array(["1", 1], dtype="string")
627- <StringArray >
627+ <ArrowStringArray >
628628 ['1', '1']
629629 Length: 2, dtype: string
630630
631631 However, instantiating StringArrays directly with non-strings will raise an error.
632632
633633 For comparison methods, `StringArray` returns a :class:`pandas.BooleanArray`:
634634
635- >>> pd.array(["a", None, "c"], dtype="string") == "a"
635+ >>> pd.array(["a", None, "c"], dtype="string[python] ") == "a"
636636 <BooleanArray>
637637 [True, <NA>, False]
638638 Length: 3, dtype: boolean
0 commit comments