Return a copy of `self` with its elements centered in a string of length `width`. See also -------- center
(self, width, fillchar=' ')
| 2174 | return asarray(capitalize(self)) |
| 2175 | |
| 2176 | def center(self, width, fillchar=' '): |
| 2177 | """ |
| 2178 | Return a copy of `self` with its elements centered in a |
| 2179 | string of length `width`. |
| 2180 | |
| 2181 | See also |
| 2182 | -------- |
| 2183 | center |
| 2184 | """ |
| 2185 | return asarray(center(self, width, fillchar)) |
| 2186 | |
| 2187 | def count(self, sub, start=0, end=None): |
| 2188 | """ |