8000 DOC: describe output from astype method · 87/numpy@5bfd65a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5bfd65a

Browse files
committed
DOC: describe output from astype method
Expand docstring for ``astype`` method.
1 parent a17875b commit 5bfd65a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

numpy/add_newdocs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3067,6 +3067,14 @@ def luf(lamdaexpr, *args, **kwargs):
30673067
requirements are satisfied, the input array is returned instead
30683068
of a copy.
30693069
3070+
Returns
3071+
-------
3072+
arr_t : ndarray
3073+
Unless `copy` is False and the other conditions for returning the input
3074+
array are satisfied (see description for `copy` input paramter), `arr_t`
3075+
is a new array of the same shape as the input array, with dtype, order
3076+
given by `dtype`, `order`.
3077+
30703078
Raises
30713079
------
30723080
ComplexWarning :

0 commit comments

Comments
 (0)
0