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

Function test_drop_null_chunked_array

python/pyarrow/tests/test_compute.py:1580–1585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1578
1579
1580def test_drop_null_chunked_array():
1581 arr = pa.chunked_array([["a", None], ["c", "d", None], [None], []])
1582 expected_drop = pa.chunked_array([["a"], ["c", "d"], [], []])
1583
1584 result = arr.drop_null()
1585 assert result.equals(expected_drop)
1586
1587
1588def test_drop_null_record_batch():

Callers

nothing calls this directly

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected