Back to Numerical Arrays (NumPy)
np.result_type
Return the type that results from applying the type promotion rules to the arguments.
Syntax
np.result_type(dtypes)
Description
Return the type that results from applying the type promotion rules to the arguments.
Parameters
| Name | Description |
|---|---|
| dtypes | - Input dtypes |
Returns
DType