MCPcopy Create free account
hub / github.com/numpy/numpy / expandtabs

Method expandtabs

numpy/core/defchararray.py:2329–2339  ·  view source on GitHub ↗

Return a copy of each string element where all tab characters are replaced by one or more spaces. See Also -------- char.expandtabs

(self, tabsize=8)

Source from the content-addressed store, hash-verified

2327 return endswith(self, suffix, start, end)
2328
2329 def expandtabs(self, tabsize=8):
2330 """
2331 Return a copy of each string element where all tab characters are
2332 replaced by one or more spaces.
2333
2334 See Also
2335 --------
2336 char.expandtabs
2337
2338 """
2339 return asarray(expandtabs(self, tabsize))
2340
2341 def find(self, sub, start=0, end=None):
2342 """

Callers 3

test_expandtabsMethod · 0.80
__call__Method · 0.80
readfortrancodeFunction · 0.80

Calls 2

expandtabsFunction · 0.85
asarrayFunction · 0.70

Tested by 1

test_expandtabsMethod · 0.64