pandas.StringDtype — pandas 2.2.3 documentation (original) (raw)
- API reference
- pandas arrays, scalars, and data types
- pandas.StringDtype
class pandas.StringDtype(storage=None)[source]#
Extension dtype for string data.
Warning
StringDtype is considered experimental. The implementation and parts of the API may change without warning.
Parameters:
storage{“python”, “pyarrow”, “pyarrow_numpy”}, optional
If not given, the value of pd.options.mode.string_storage
.
Attributes
Methods
Examples
pd.StringDtype() string[python]
pd.StringDtype(storage="pyarrow") string[pyarrow]