summaryrefslogtreecommitdiff
path: root/numpy/core/shape_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r--numpy/core/shape_base.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index 599b48d82..074be4b64 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -184,6 +184,10 @@ def vstack(tup):
Take a sequence of arrays and stack them vertically to make a single
array. Rebuild arrays divided by `vsplit`.
+ This function continues to be supported for backward compatibility, but
+ you should prefer ``np.concatenate`` or ``np.stack`` (keep in mind that
+ ``np.stack`` was added in numpy version 1.10).
+
Parameters
----------
tup : sequence of ndarrays
@@ -236,6 +240,10 @@ def hstack(tup):
Take a sequence of arrays and stack them horizontally to make
a single array. Rebuild arrays divided by `hsplit`.
+ This function continues to be supported for backward compatibility, but
+ you should prefer ``np.concatenate`` or ``np.stack`` (keep in mind that
+ ``np.stack`` was added in numpy version 1.10).
+
Parameters
----------
tup : sequence of ndarrays