Skip to content

Commit d83a4ff

Browse files
update whatsnew for dtype="string"
1 parent 64b3206 commit d83a4ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/source/whatsnew/v1.3.0.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,14 @@ You can use the alias ``"string[pyarrow]"`` as well.
204204
s = pd.Series(['abc', None, 'def'], dtype="string[pyarrow]")
205205
s
206206
207+
You can also create a PyArrow backed string array using pandas options.
208+
209+
.. ipython:: python
210+
211+
with pd.option_context("string_storage", "pyarrow"):
212+
s = pd.Series(['abc', None, 'def'], dtype="string")
213+
s
214+
207215
The usual string accessor methods work. Where appropriate, the return type
208216
of the Series or columns of a DataFrame will also have string dtype.
209217

0 commit comments

Comments
 (0)