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

Function test_sequence_double

python/pyarrow/tests/test_convert_builtin.py:552–558  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

550
551
552def test_sequence_double():
553 data = [1.5, 1., None, 2.5, None, None]
554 arr = pa.array(data)
555 assert len(arr) == 6
556 assert arr.null_count == 3
557 assert arr.type == pa.float64()
558 assert arr.to_pylist() == data
559
560
561def test_double_auto_coerce_from_integer():

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected