This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / strings / _get_num_chars

function

numpy._core.strings:_get_num_chars

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

Signature

def   _get_num_chars ( a )

Summary

Helper function that returns the number of characters per field in a string or unicode array. This is to abstract out the fact that for a unicode array this is itemsize / 4.

Aliases

  • numpy._core.strings._get_num_chars