MCPcopy
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_repeatabilityMethod · 0.80
test_integer_repeatFunction · 0.80
test_repeatabilityMethod · 0.80
test_jumpedFunction · 0.80
test_repeatabilityMethod · 0.80
test_half_funcsMethod · 0.80
test_void_copyswapMethod · 0.80
test_attributesMethod · 0.80
test_nonzero_byteswapMethod · 0.80

Calls 1

_rcMethod · 0.95

Tested by 15

test_repeatabilityMethod · 0.64
test_integer_repeatFunction · 0.64
test_repeatabilityMethod · 0.64
test_jumpedFunction · 0.64
test_repeatabilityMethod · 0.64
test_half_funcsMethod · 0.64
test_void_copyswapMethod · 0.64
test_attributesMethod · 0.64
test_nonzero_byteswapMethod · 0.64