()
| 1120 | |
| 1121 | |
| 1122 | def 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 |