pandas.Series.str.encode#

Series.str.encode(encoding, errors='strict')[源代码]#

使用指定的编码对序列/索引中的字符串进行编码。

相当于 str.encode()

参数
encoding应力
errors字符串,可选
退货
encoded对象的系列/索引