diff options
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/_asarray.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/_asarray.py b/numpy/core/_asarray.py index fbb7ffa9d..0ad4161f4 100644 --- a/numpy/core/_asarray.py +++ b/numpy/core/_asarray.py @@ -246,6 +246,11 @@ def require(a, dtype=None, requirements=None): * 'OWNDATA' ('O') - ensure an array that owns its own data * 'ENSUREARRAY', ('E') - ensure a base array, instead of a subclass + Returns + ------- + out : ndarray + Array with specified requirements and type if given. + See Also -------- asarray : Convert input to an ndarray. |