MCPcopy 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_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