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

Method encode

numpy/core/defchararray.py:2306–2315  ·  view source on GitHub ↗

Calls `str.encode` element-wise. See Also -------- char.encode

(self, encoding=None, errors=None)

Source from the content-addressed store, hash-verified

2304 return decode(self, encoding, errors)
2305
2306 def encode(self, encoding=None, errors=None):
2307 """
2308 Calls `str.encode` element-wise.
2309
2310 See Also
2311 --------
2312 char.encode
2313
2314 """
2315 return encode(self, encoding, errors)
2316
2317 def endswith(self, suffix, start=0, end=None):
2318 """

Callers 15

_reprMethod · 0.80
html_quoteFunction · 0.80
urlFunction · 0.80
bFunction · 0.80
asbytesFunction · 0.80
asbytesFunction · 0.80
fullapi_hashFunction · 0.80
normalize_docFunction · 0.80
test_encodeMethod · 0.80

Calls 1

encodeFunction · 0.85

Tested by 15

test_encodeMethod · 0.64
_checkMethod · 0.64
content_checkMethod · 0.64
content_checkMethod · 0.64
content_checkMethod · 0.64
test_encodingMethod · 0.64