pandas.Series.str.decode

Series.str.decode(encoding, errors='strict')[source]

Decode character string in the Series/Index using indicated encoding.

Equivalent to str.decode() in python2 and bytes.decode() in python3.

Parameters
encoding:str
errors:str, optional
Returns
Series or Index

© 2008–2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.3.4/reference/api/pandas.Series.str.decode.html