bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / defchararray / chararray / translate
function
numpy._core.defchararray:chararray.translate
source: build-install/usr/lib/python3.14/site-packages/numpy/_core/defchararray.py:1150
Signature
def translate(self, table, deletechars = None)Summary
For each element in self, return a copy of the string where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped through the given translation table.
See also
- char.translate
Aliases
numpy.char.chararray.translate