numpy.char.chararray.encode

method

chararray.encode(encoding=None, errors=None)

Calls str.encode element-wise.

See also

char.encode