Series.str.
center
Pad left and right side of strings in the Series/Index.
Equivalent to str.center().
str.center()
width (int) – Minimum width of resulting string; additional characters will be filled with fillchar.
fillchar
fillchar (str) – Additional character for filling, default is whitespace.
filled
Series/Index of objects.