MCPcopy Index your code
hub / github.com/numpy/numpy / expandtabs

Method expandtabs

numpy/_core/defchararray.py:818–828  ·  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

816 return endswith(self, suffix, start, end)
817
818 def expandtabs(self, tabsize=8):
819 """
820 Return a copy of each string element where all tab characters are
821 replaced by one or more spaces.
822
823 See Also
824 --------
825 char.expandtabs
826
827 """
828 return asarray(expandtabs(self, tabsize))
829
830 def find(self, sub, start=0, end=None):
831 """

Callers 7

test_expandtabsMethod · 0.80
test_expandtabsMethod · 0.80
test_expandtabsMethod · 0.80
test_expandtabsMethod · 0.80
readfortrancodeFunction · 0.80

Calls 2

expandtabsFunction · 0.85
asarrayFunction · 0.70

Tested by 6

test_expandtabsMethod · 0.64
test_expandtabsMethod · 0.64
test_expandtabsMethod · 0.64
test_expandtabsMethod · 0.64