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

Function test_boolean_true_count_false_count

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

Source from the content-addressed store, hash-verified

3171
3172
3173def test_boolean_true_count_false_count():
3174 # ARROW-9145
3175 arr = pa.array([True, True, None, False, None, True] * 1000)
3176 assert arr.true_count == 3000
3177 assert arr.false_count == 1000
3178
3179
3180@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected