Padding arrays

pad(array, pad_width[, mode])

Pads an array with specified widths and values.