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 d61fdc7 commit 1078723Copy full SHA for 1078723
numpy/core/_add_newdocs.py
@@ -796,6 +796,8 @@
796
object : array_like
797
An array, any object exposing the array interface, an object whose
798
__array__ method returns an array, or any (nested) sequence.
799
+ If object is a scalar, a 0-dimensional array containing object is
800
+ returned.
801
dtype : data-type, optional
802
The desired data-type for the array. If not given, then the type will
803
be determined as the minimum type required to hold the objects in the
0 commit comments