pd.Series.str.pad
¶
pandas.Series.str.pad(width, side='left', fillchar=' ')
Argument Restrictions:¶
width
: must be typeInteger
.side
: must be a compile time constant and must be"left"
,"right"
or"both"
.fillchar
: must be typeCharacter
.
Note
Input must be a Series of String
data.