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

Method strip

numpy/core/defchararray.py:2630–2640  ·  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

2628 return startswith(self, prefix, start, end)
2629
2630 def strip(self, chars=None):
2631 """
2632 For each element in `self`, return a copy with the leading and
2633 trailing characters removed.
2634
2635 See Also
2636 --------
2637 char.strip
2638
2639 """
2640 return asarray(strip(self, chars))
2641
2642 def swapcase(self):
2643 """

Callers 15

mainFunction · 0.80
setup.pyFile · 0.80
check_submodulesFunction · 0.80
get_authorsFunction · 0.80
mainFunction · 0.80
check_outputMethod · 0.80
mainFunction · 0.80
trim_lexFunction · 0.80
parse_exprFunction · 0.80
parse_forFunction · 0.80
parse_defaultFunction · 0.80
collect_statsFunction · 0.80

Calls 2

stripFunction · 0.85
asarrayFunction · 0.70

Tested by 15

mainFunction · 0.64
_read_csvMethod · 0.64
test_pyinstallerFunction · 0.64
_text_to_listFunction · 0.64
get_cpuinfo_itemMethod · 0.64
load_flags_auxvMethod · 0.64
test_stripMethod · 0.64
test_debug_printFunction · 0.64
_get_cancast_tableFunction · 0.64
test_py2_float_printMethod · 0.64
test_ValidHTTPMethod · 0.64