()
| 119 | |
| 120 | |
| 121 | def simple_dicts_table(): |
| 122 | dict_values = pa.array(["foo", "baz", "quux"], type=pa.utf8()) |
| 123 | new_dict_values = pa.array(["foo", "baz", "quux", "new"], type=pa.utf8()) |
| 124 | data = [ |
| 125 | pa.chunked_array([ |
| 126 | pa.DictionaryArray.from_arrays([1, 0, None], dict_values), |
| 127 | pa.DictionaryArray.from_arrays([2, 1], dict_values), |
| 128 | pa.DictionaryArray.from_arrays([0, 3], new_dict_values) |
| 129 | ]) |
| 130 | ] |
| 131 | return pa.Table.from_arrays(data, names=['some_dicts']) |
| 132 | |
| 133 | |
| 134 | def multiple_column_table(): |
no test coverage detected