API Reference
Convert a scalar into a NumPy scalar.
x (Number) – Scalar value.
Number
dtype (Union[dtype, str, None]) – Data type of the scalar.
Union
dtype
str
None
generic