diff options
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 2 |
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)) |