Python -> Rust -> Python
()
| 329 | |
| 330 | |
| 331 | def test_binary_array(): |
| 332 | """ |
| 333 | Python -> Rust -> Python |
| 334 | """ |
| 335 | a = pa.array(["a", None, "bb", "ccc"], pa.binary()) |
| 336 | b = rust.round_trip_array(a) |
| 337 | b.validate(full=True) |
| 338 | assert a.to_pylist() == b.to_pylist() |
| 339 | assert a.type == b.type |
| 340 | del a |
| 341 | del b |
| 342 | |
| 343 | def test_fixed_len_binary_array(): |
| 344 | """ |