We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cad4b commit 7038c9cCopy full SHA for 7038c9c
spec/API_specification/type_promotion.md
@@ -108,6 +108,7 @@ a compatible type and value to the array dtype:
108
- Python `bool` for a `bool` array dtype,
109
- a Python `int` within the [bounds](data-types) of the given dtype for integer array dtypes,
110
- a Python `int` or `float` for floating-point array dtypes
111
+
112
The expected behavior is then equivalent to:
113
114
1. Convert the scalar to a 0-D array with the same dtype as that of the array
0 commit comments