bundles / numpy latest / numpy / _core / _internal / _promote_fields
function
numpy._core._internal:_promote_fields
source: build-install/usr/lib/python3.14/site-packages/numpy/_core/_internal.py :410
Signature
def _promote_fields ( dt1 , dt2 ) Summary
Perform type promotion for two structured dtypes.
Parameters
dt1: structured dtypeFirst dtype.
dt2: structured dtypeSecond dtype.
Returns
out: dtypeThe promoted dtype
Notes
If one of the inputs is aligned, the result will be. The titles of both descriptors must match (point to the same field).
Aliases
-
numpy._core._internal._promote_fields