{ } Raw JSON

bundles / numpy 2.4.4 / numpy / _core / defchararray / chararray / capitalize

function

numpy._core.defchararray:chararray.capitalize

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

Signature

def capitalize(self)

Summary

Return a copy of self with only the first character of each element capitalized.

See also

char.capitalize

Aliases

  • numpy.char.chararray.capitalize