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

bundles / numpy latest / numpy / _core / strings / _to_bytes_or_str_array

function

numpy._core.strings:_to_bytes_or_str_array

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

Signature

def   _to_bytes_or_str_array ( result output_dtype_like )

Summary

Helper function to cast a result back into an array with the appropriate dtype if an object array must be used as an intermediary.

Aliases

  • numpy._core.strings._to_bytes_or_str_array