This is a pre-release version (latest).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / _core / defchararray / chararray / strip

function

numpy._core.defchararray:chararray.strip

source: build-install/usr/lib/python3.14/site-packages/numpy/_core/defchararray.py:1113

Signature

def strip(self, chars = None)

Summary

For each element in self, return a copy with the leading and trailing characters removed.

See also

char.strip

Aliases

  • numpy.char.chararray.strip