NumPy

Previous topic

numpy.chararray.squeeze

Next topic

numpy.chararray.strip

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.chararray.startswith

method

chararray.startswith(self, prefix, start=0, end=None)[source]

Returns a boolean array which is True where the string element in self starts with prefix, otherwise False.

See also

char.startswith