npastype
Cast a NumPy array to a specified data type, returning a copy with the target dtype.
Instructions
Copy of the array, cast to a specified type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. | |
| dtype | Yes | The target dtype. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |