You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / _core / defchararray / chararray / count

function

numpy._core.defchararray:chararray.count

source: /numpy/_core/defchararray.py:765

Signature

def count(self, sub, start = 0, end = None)

Summary

Returns an array with the number of non-overlapping occurrences of substring sub in the range [start, end].

See also

char.count

Aliases

  • numpy.char.chararray.count