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