()
| 4099 | |
| 4100 | @pytest.mark.pandas |
| 4101 | def test_to_pandas_float16_list(): |
| 4102 | # https://github.com/apache/arrow/issues/36168 |
| 4103 | expected = [[np.float16(1)], [np.float16(2)], [np.float16(3)]] |
| 4104 | arr = pa.array(expected) |
| 4105 | result = arr.to_pandas() |
| 4106 | assert result[0].dtype == "float16" |
| 4107 | assert result.tolist() == expected |
| 4108 | |
| 4109 | |
| 4110 | def test_array_sort(): |