method
chararray.encode(self, encoding=None, errors=None)
Calls str.encode
element-wise.
See also
char.encode
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.char.chararray.encode.html