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

Function test_array_slice_numpy_integer_scalars

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

Source from the content-addressed store, hash-verified

579
580@pytest.mark.numpy
581def test_array_slice_numpy_integer_scalars():
582 arr = pa.array(range(10))
583
584 result = arr.slice(np.int64(2), np.int64(4))
585
586 assert result.equals(arr.slice(2, 4))
587
588
589@pytest.mark.parametrize("scalar", [

Callers

nothing calls this directly

Calls 3

equalsMethod · 0.80
arrayMethod · 0.45
sliceMethod · 0.45

Tested by

no test coverage detected