This is documentation for an old release of NumPy (version 1.3.). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
-
numpy.r_()
Translates slice objects to concatenation along the first axis.
For example:
>>> np.r_[np.array([1,2,3]), 0, 0, np.array([4,5,6])]
array([1, 2, 3, 0, 0, 4, 5, 6])