statsmodels.iolib.table.SimpleTable.pad#

SimpleTable.pad(s, width, align)[source]#

DEPRECATED: just use the pad function

Parameters:
sstr

The string to pad.

widthint

The width, in characters, to pad s to.

alignstr

One of ‘l’, ‘r’ or ‘c’ for left, right or center alignment.

Returns:
str

The padded string.