pad
pad(
self ,
array: ndarray ,
dtype = None,
fill = 0,
)-> ‘np.ndarray’
Return the array inside a buffer every tile fits in whole.
The buffer holds fill, zero by default, wherever the array is not. It takes the dtype which holds both the array and fill unless one is given.