pandas.StringDtype — pandas 3.0.0.dev0+2104.ge637b4290d documentation (original) (raw)
class pandas.StringDtype(storage=None, na_value=)[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”}, optional
If not given, the value of pd.options.mode.string_storage
.
na_value{np.nan, pd.NA}, default pd.NA
Whether the dtype follows NaN or NA missing value semantics.
Attributes
Methods
Examples
pd.StringDtype() <StringDtype(storage='python', na_value=)>
pd.StringDtype(storage="pyarrow") <StringDtype(na_value=)>