summaryrefslogtreecommitdiff
path: root/numpy/core/shape_base.py
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-11-14 10:57:43 -0800
committerRoss Barnowski <rossbar@berkeley.edu>2022-11-14 10:57:43 -0800
commit06e413f6a3041ce484901e3a33389028362cd012 (patch)
treeed15fe6895f3dfd3686a08e58ccf23ea1f5a060e /numpy/core/shape_base.py
parentfbe1b65f5f66ca5a416b23194577a1ed5a4cf1bd (diff)
downloadnumpy-06e413f6a3041ce484901e3a33389028362cd012.tar.gz
DOC: Clarify relationship between row_stack and vstack.
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r--numpy/core/shape_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index c5e0ad475..84a6bd671 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -234,6 +234,8 @@ def vstack(tup, *, dtype=None, casting="same_kind"):
and r/g/b channels (third axis). The functions `concatenate`, `stack` and
`block` provide more general stacking and concatenation operations.
+ ``np.row_stack`` is an alias for `vstack`. They are the same function.
+
Parameters
----------
tup : sequence of ndarrays