summaryrefslogtreecommitdiff
path: root/numpy/core/shape_base.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-02-20 23:46:20 +0200
committermattip <matti.picus@gmail.com>2019-02-28 11:43:59 +0200
commit62433284d65a3629a199958da2df3a807c60fab4 (patch)
tree61a822b3dab1edc78eff9019e61dc5e1dd0e607d /numpy/core/shape_base.py
parentb9ab1a57b9c7ff9462b8d678bce91274d0ad4d12 (diff)
downloadnumpy-62433284d65a3629a199958da2df3a807c60fab4.tar.gz
DOC: reduce warnings when building, reword, tweak doc building
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r--numpy/core/shape_base.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index 08e07bb66..e43519689 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -347,9 +347,9 @@ def stack(arrays, axis=0, out=None):
"""
Join a sequence of arrays along a new axis.
- The `axis` parameter specifies the index of the new axis in the dimensions
- of the result. For example, if ``axis=0`` it will be the first dimension
- and if ``axis=-1`` it will be the last dimension.
+ The ``axis`` parameter specifies the index of the new axis in the
+ dimensions of the result. For example, if ``axis=0`` it will be the first
+ dimension and if ``axis=-1`` it will be the last dimension.
.. versionadded:: 1.10.0
@@ -357,8 +357,10 @@ def stack(arrays, axis=0, out=None):
----------
arrays : sequence of array_like
Each array must have the same shape.
+
axis : int, optional
The axis in the result array along which the input arrays are stacked.
+
out : ndarray, optional
If provided, the destination to place the result. The shape must be
correct, matching that of what stack would have returned if no