MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / center

Method center

site-packages/numpy/core/defchararray.py:2176–2185  ·  view source on GitHub ↗

Return a copy of `self` with its elements centered in a string of length `width`. See also -------- center

(self, width, fillchar=' ')

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 2

centerFunction · 0.85
asarrayFunction · 0.70

Tested by

no test coverage detected