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

Function test_array_masked

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

Source from the content-addressed store, hash-verified

3764
3765@pytest.mark.numpy
3766def test_array_masked():
3767 # ARROW-5208
3768 arr = pa.array([4, None, 4, 3.],
3769 mask=np.array([False, True, False, True]))
3770 assert arr.type == pa.int64()
3771
3772 # ndarray dtype=object argument
3773 arr = pa.array(np.array([4, None, 4, 3.], dtype="O"),
3774 mask=np.array([False, True, False, True]))
3775 assert arr.type == pa.int64()
3776
3777
3778@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected