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

Method strip

numpy/_core/defchararray.py:1120–1130  ·  view source on GitHub ↗

For each element in `self`, return a copy with the leading and trailing characters removed. See Also -------- char.strip

(self, chars=None)

Source from the content-addressed store, hash-verified

1118 return startswith(self, prefix, start, end)
1119
1120 def strip(self, chars=None):
1121 """
1122 For each element in `self`, return a copy with the leading and
1123 trailing characters removed.
1124
1125 See Also
1126 --------
1127 char.strip
1128
1129 """
1130 return strip(self, chars)
1131
1132 def swapcase(self):
1133 """

Callers 15

get_authorsFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
collect_statsFunction · 0.80
scan_fileFunction · 0.80
nep_metadataFunction · 0.80
parse_distributions_hFunction · 0.80
_read_csvMethod · 0.80
_setfieldnamesMethod · 0.80
_array_method_docFunction · 0.80
__repr__Method · 0.80

Calls 1

stripFunction · 0.85

Tested by 15

_read_csvMethod · 0.64
test_strip_promoterFunction · 0.64
_text_to_listFunction · 0.64
get_cpuinfo_itemMethod · 0.64
load_flags_auxvMethod · 0.64
_get_platformMethod · 0.64
test_stripMethod · 0.64
test_debug_printFunction · 0.64