Skip to content

Commit 6b470b1

Browse files
Apply suggestions from code review
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
1 parent 3e26baa commit 6b470b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v1.3.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ PyArrow backed string data type
178178
We've enhanced the :class:`StringDtype`, an extension type dedicated to string data.
179179
(:issue:`39908`)
180180

181-
It is now possible to specify a ``storage`` keyword option to :class:`StringDtype`, use
181+
It is now possible to specify a ``storage`` keyword option to :class:`StringDtype`. Use
182182
pandas options or specify the dtype using ``dtype='string[pyarrow]'`` to allow the
183183
StringArray to be backed by a PyArrow array instead of a NumPy array of Python objects.
184184

pandas/core/construction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def array(
125125
============================== =======================================
126126
127127
The ExtensionArray created when the scalar type is :class:`str` is determined by
128-
pd.options.mode.string_storage if the dtype is not explicitly given.
128+
``pd.options.mode.string_storage`` if the dtype is not explicitly given.
129129
130130
For all other cases, NumPy's usual inference rules will be used.
131131

0 commit comments

Comments
 (0)