pandas.StringDtype#

class pandas.StringDtype(storage=None)[源代码]#

字符串数据的扩展数据类型。

1.0.0 新版功能.

警告

StringDtype被认为是实验性的。API的实现和部分内容可能会在没有任何警告的情况下发生更改。

特别是,StringDtype.na_Value可能会更改为不再是 pd.NA

参数
storage{“python”,“pyrow”},选填

如果未给出,则为 pd.options.mode.string_storage

示例

>>> pd.StringDtype()
string[python]
>>> pd.StringDtype(storage="pyarrow")
string[pyarrow]

属性

None

方法:

None