Skip to content

Commit c276dfb

Browse files
authored
DOC: Use np alias in absolute beginners tutorial example (numpy#20256)
1 parent 1046087 commit c276dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user/absolute_beginners.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ this array to an array with three rows and two columns::
391391

392392
With ``np.reshape``, you can specify a few optional parameters::
393393

394-
>>> numpy.reshape(a, newshape=(1, 6), order='C')
394+
>>> np.reshape(a, newshape=(1, 6), order='C')
395395
array([[0, 1, 2, 3, 4, 5]])
396396

397397
``a`` is the array to be reshaped.

0 commit comments

Comments
 (0)