Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ byteswap
Method
byteswap
numpy/lib/user_array.py:234–236 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
232
return
self.array.tobytes()
233
234
def
byteswap(self):
235
""
236
return
self._rc(self.array.byteswap())
237
238
def
astype(self, typecode):
239
""
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