MCPcopy Create free account
hub / github.com/apache/arrow / test_to_pandas_float16_list

Function test_to_pandas_float16_list

python/pyarrow/tests/test_array.py:4101–4107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4099
4100@pytest.mark.pandas
4101def 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
4110def test_array_sort():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected