{ } Raw JSON

bundles / numpy 2.4.4 / numpy / _core / strings / _to_bytes_or_str_array

function

numpy._core.strings:_to_bytes_or_str_array

source: /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