Extension dtype for string data.
Warning
StringDtype is considered experimental. The implementation and parts of the API may change without warning.
If not given, the value of pd.options.mode.string_storage.
Whether the dtype follows NaN or NA missing value semantics.
Attributes
None |
Methods
None |
Examples
>>> pd.StringDtype()
string[python]
>>> pd.StringDtype(storage="pyarrow")
string[pyarrow]
© 2008–2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
© 2011–2025, Open source contributors
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/2.3.0/reference/api/pandas.StringDtype.html