summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-03-04 13:49:57 -0800
committerJaime <jaime.frio@gmail.com>2015-03-04 13:49:57 -0800
commit4cba5310c7b8d1a3aab7202209d238f569a8f9ff (patch)
treef0940b487f4754ea00e849a1bfe7d8842c92c64d
parent03506a9e72d85d596021e11e9b39c5a0fd1f2eba (diff)
parentee195f28cf8e82908e4039ba876dc3e3f2b6a2f3 (diff)
downloadnumpy-4cba5310c7b8d1a3aab7202209d238f569a8f9ff.tar.gz
Merge pull request #5633 from yousefhamza/dev_branch
DOC: Adding note to transpose()
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index c518309a0..b0c141178 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -526,6 +526,8 @@ def transpose(a, axes=None):
Use `transpose(a, argsort(axes))` to invert the transposition of tensors
when using the `axes` keyword argument.
+ Transposing a 1-D array returns an unchanged view of the original array.
+
Examples
--------
>>> x = np.arange(4).reshape((2,2))