Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ byteswap
Method
byteswap
numpy/lib/_user_array_impl.py:257–259 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
255
return
self.array.tobytes()
256
257
def
byteswap(self):
258
""
259
return
self._rc(self.array.byteswap())
260
261
def
astype(self, typecode):
262
""
Callers
15
test_repeatability
Method · 0.80
test_integer_repeat
Function · 0.80
test_repeatability
Method · 0.80
test_choice_large_sample
Method · 0.80
test_jumped
Function · 0.80
test_repeatability
Method · 0.80
test_half_funcs
Method · 0.80
test_void_copyswap
Method · 0.80
test_multidim_byteswap
Method · 0.80
test_attributes
Method · 0.80
test_byteswap_complex_scalar
Method · 0.80
test_nonzero_byteswap
Method · 0.80
Calls
1
_rc
Method · 0.95
Tested by
15
test_repeatability
Method · 0.64
test_integer_repeat
Function · 0.64
test_repeatability
Method · 0.64
test_choice_large_sample
Method · 0.64
test_jumped
Function · 0.64
test_repeatability
Method · 0.64
test_half_funcs
Method · 0.64
test_void_copyswap
Method · 0.64
test_multidim_byteswap
Method · 0.64
test_attributes
Method · 0.64
test_byteswap_complex_scalar
Method · 0.64
test_nonzero_byteswap
Method · 0.64