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

Function test_sequence_integer_inferred

python/pyarrow/tests/test_convert_builtin.py:413–419  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

411
412@parametrize_with_sequence_types
413def test_sequence_integer_inferred(seq):
414 expected = [1, None, 3, None]
415 arr = pa.array(seq(expected))
416 assert len(arr) == 4
417 assert arr.null_count == 2
418 assert arr.type == pa.int64()
419 assert arr.to_pylist() == expected
420
421
422@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected