W3cubDocs

/NumPy 1.14

Padding Arrays

pad(array, pad_width, mode, **kwargs) Pads an array.

© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.14.2/reference/routines.padding.html