File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1346,11 +1346,11 @@ def column_stack(tup):
1346
1346
--------
1347
1347
>>> import dpnp as np
1348
1348
>>> a = np.array((1, 2, 3))
1349
- >>> b = np.array((2, 3, 4 ))
1349
+ >>> b = np.array((4, 5, 6 ))
1350
1350
>>> np.column_stack((a, b))
1351
- array([[1, 2 ],
1352
- [2, 3 ],
1353
- [3, 4 ]])
1351
+ array([[1, 4 ],
1352
+ [2, 5 ],
1353
+ [3, 6 ]])
1354
1354
1355
1355
"""
1356
1356
@@ -1778,18 +1778,18 @@ def dstack(tup):
1778
1778
--------
1779
1779
>>> import dpnp as np
1780
1780
>>> a = np.array((1, 2, 3))
1781
- >>> b = np.array((2, 3, 4 ))
1781
+ >>> b = np.array((4, 5, 6 ))
1782
1782
>>> np.dstack((a, b))
1783
- array([[[1, 2 ],
1784
- [2, 3 ],
1785
- [3, 4 ]]])
1783
+ array([[[1, 4 ],
1784
+ [2, 5 ],
1785
+ [3, 6 ]]])
1786
1786
1787
1787
>>> a = np.array([[1], [2], [3]])
1788
- >>> b = np.array([[2 ], [3 ], [4 ]])
1788
+ >>> b = np.array([[4 ], [5 ], [6 ]])
1789
1789
>>> np.dstack((a, b))
1790
- array([[[1, 2 ]],
1791
- [[2, 3 ]],
1792
- [[3, 4 ]]])
1790
+ array([[[1, 4 ]],
1791
+ [[2, 5 ]],
1792
+ [[3, 6 ]]])
1793
1793
1794
1794
"""
1795
1795
You can’t perform that action at this time.
0 commit comments