Top "Pad" questions

This tag is currently a synonym for [padding]. For other purposes, please consider [gamepad] or [ipad] or [pad-xml] instead.

How can I fill out a Python string with spaces?

I want to fill out a string with spaces. I know that the following works for zero's: >>> …

python string string-formatting pad
python how to pad numpy array with zeros

I want to know how I can pad a 2D numpy array with zeros using python 2.6.6 with numpy version 1.5.0. Sorry! …

python arrays numpy pad
Add leading zeroes to awk variable

I have the following awk command within a "for" loop in bash: awk -v pdb="$pdb" 'BEGIN {file = 1; filename = pdb"_" …

bash variables awk zero pad
jQuery lightbox with zoom

Is there a jQuery script or plugin that opens images in a lightbox and allows you to zoom in further …

jquery image zooming pad
Pad python floats

I want to pad some percentage values so that there are always 3 units before the decimal place. With ints I …

python floating-point zero pad
Padding an image in MATLAB

I have an image of size 61x56 and I want to pad the image to size 392x392. I am trying …

image matlab image-processing pad
JavaScript: How to add x to an array x times?

I imagine this is similar to array padding, but I wonder if it can be simplified at all. var arr = [1,2,3], …

javascript arrays concat pad
xsd pattern acceptable for decimals?

We have a request to implement our webservice response so that xsd:decimal fraction digits will be zero-padded when it's …

xsd design-patterns decimal pad
Filling date gaps in pandas dataframe

I have Pandas DataFrame (loaded from .csv) with Date-time as index.. where there is/have-to-be one entry per day. The …

python datetime csv pandas pad
Sox : merge two audio files with a pad

I'm using the sox tool and I would like to merge two audio files, let's say long.ogg and short.…

audio merge delay sox pad