MCPcopy Create free account
hub / github.com/apache/arrow / test_nbytes_size

Function test_nbytes_size

python/pyarrow/tests/test_array.py:3277–3280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3275
3276
3277def test_nbytes_size():
3278 a = pa.chunked_array([pa.array([1, None, 3], type=pa.int16()),
3279 pa.array([4, 5, 6], type=pa.int16())])
3280 assert a.nbytes == 13
3281
3282
3283def test_invalid_tensor_constructor_repr():

Callers

nothing calls this directly

Calls 2

chunked_arrayMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected