Skip to content

Commit d9dcd20

Browse files
update StringDtype docstring
1 parent a0b7a70 commit d9dcd20

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/core/arrays/string_.py

+8
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ class StringDtype(ExtensionDtype):
7070
In particular, StringDtype.na_value may change to no longer be
7171
``numpy.nan``.
7272
73+
Parameters
74+
----------
75+
storage : {"python", "pyarrow"}, optional
76+
If not given, the value of ``pd.options.mode.string_storage``.
77+
7378
Attributes
7479
----------
7580
None
@@ -82,6 +87,9 @@ class StringDtype(ExtensionDtype):
8287
--------
8388
>>> pd.StringDtype()
8489
string[python]
90+
91+
>>> pd.StringDtype(storage="pyarrow")
92+
string[pyarrow]
8593
"""
8694

8795
name = "string"

0 commit comments

Comments
 (0)