We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b3206 commit d83a4ffCopy full SHA for d83a4ff
doc/source/whatsnew/v1.3.0.rst
@@ -204,6 +204,14 @@ You can use the alias ``"string[pyarrow]"`` as well.
204
s = pd.Series(['abc', None, 'def'], dtype="string[pyarrow]")
205
s
206
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
215
The usual string accessor methods work. Where appropriate, the return type
216
of the Series or columns of a DataFrame will also have string dtype.
217
0 commit comments