Skip to content

Commit

Permalink
DOC: clarify frombuffer and ndarray.tobytes are inverse operations
Browse files Browse the repository at this point in the history
Thanks for suggestions from @mattip .
  • Loading branch information
noritada committed Jul 17, 2022
1 parent 3c500f5 commit 91ab215
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions numpy/core/_add_newdocs.py
Expand Up @@ -1604,7 +1604,8 @@
See also
--------
ndarray.tobytes
Construct Python bytes from the raw data bytes in the array.
Inverse of this operation, construct Python bytes from the raw data
bytes in the array.
Notes
-----
Expand Down Expand Up @@ -4465,7 +4466,9 @@
See also
--------
frombuffer : Construct a 1-dimensional array from Python bytes.
frombuffer
Inverse of this operation, construct a 1-dimensional array from Python
bytes.
Examples
--------
Expand Down

0 comments on commit 91ab215

Please sign in to comment.