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

Function test_dictionary_indices

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

Source from the content-addressed store, hash-verified

1120
1121
1122def test_dictionary_indices():
1123 # https://issues.apache.org/jira/browse/ARROW-6882
1124 indices = pa.array([0, 1, 2, 0, 1, 2])
1125 dictionary = pa.array(['foo', 'bar', 'baz'])
1126 arr = pa.DictionaryArray.from_arrays(indices, dictionary)
1127 arr.indices.validate(full=True)
1128
1129
1130@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected