8000 DOC: Fix transpose() description with a correct reference to atleast_… · numpy/numpy@b07264b · GitHub
[go: up one dir, main page]

Skip to content

Commit b07264b

Browse files
committed
DOC: Fix transpose() description with a correct reference to atleast_2d()
1 parent 95343a3 commit b07264b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/fromnumeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def transpose(a, axes=None):
593593
For a 1-D array, this returns an unchanged view of the original array, as a
594594
transposed vector is simply the same vector.
595595
To convert a 1-D array into a 2-D column vector, an additional dimension
596-
must be added, e.g., ``np.atleast2d(a).T`` achieves this, as does
596+
must be added, e.g., ``np.atleast_2d(a).T`` achieves this, as does
597597
``a[:, np.newaxis]``.
598598
For a 2-D array, this is the standard matrix transpose.
599599
For an n-D array, if axes are given, their order indicates how the

0 commit comments

Comments
 (0)
0