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

Method startswith

numpy/_core/defchararray.py:1108–1118  ·  view source on GitHub ↗

Returns a boolean array which is `True` where the string element in `self` starts with `prefix`, otherwise `False`. See Also -------- char.startswith

(self, prefix, start=0, end=None)

Source from the content-addressed store, hash-verified

1106 return splitlines(self, keepends)
1107
1108 def startswith(self, prefix, start=0, end=None):
1109 """
1110 Returns a boolean array which is `True` where the string element
1111 in `self` starts with `prefix`, otherwise `False`.
1112
1113 See Also
1114 --------
1115 char.startswith
1116
1117 """
1118 return startswith(self, prefix, start, end)
1119
1120 def strip(self, chars=None):
1121 """

Callers 15

get_submodule_pathsFunction · 0.80
visit_ClassDefMethod · 0.80
find_missingFunction · 0.80
get_all_dictFunction · 0.80
mainFunction · 0.80
sort_orderFunction · 0.80
mainFunction · 0.80
process_texFunction · 0.80
linkcode_resolveFunction · 0.80
nep_metadataFunction · 0.80
parse_distributions_hFunction · 0.80
test_reprMethod · 0.80

Calls 1

startswithFunction · 0.85

Tested by 15

test_reprMethod · 0.64
get_cpuinfo_itemMethod · 0.64
load_flags_auxvMethod · 0.64
_get_platformMethod · 0.64
_is_armhfFunction · 0.64
test_startswithMethod · 0.64
test_startswithMethod · 0.64
failMethod · 0.64
test_centerMethod · 0.64