numpy / 1.22.0 / reference / generated / numpy.chararray.encode.html /

numpy.chararray.encode

method

chararray. encode ( encoding=None, errors=None ) [source]

Calls str.encode element-wise.

See also

char.encode

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.chararray.encode.html