diff options
author | auke <wiggers.auke@gmail.com> | 2016-02-15 10:06:46 +0100 |
---|---|---|
committer | auke <wiggers.auke@gmail.com> | 2016-02-15 10:06:46 +0100 |
commit | c56b7d0b9fdc27da232be990eb1135de72bfe7a5 (patch) | |
tree | b1e6d4e6b0bcaf874b72ff3b5f40d351af28db43 /numpy/lib/shape_base.py | |
parent | 53c6ef74a7a3cce80f4db581eb708c5e374715b5 (diff) | |
download | numpy-c56b7d0b9fdc27da232be990eb1135de72bfe7a5.tar.gz |
DOC: note in h/v/dstack points users to stack/concatenate
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r-- | numpy/lib/shape_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index ffbe56721..88ed065e1 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -325,6 +325,10 @@ def dstack(tup): This is a simple way to stack 2D arrays (images) into a single 3D array for processing. + 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 arrays |