()
| 20 | |
| 21 | |
| 22 | def test_to_numeric_on_dask_array(): |
| 23 | arg = from_array(["1.0", "2", "-3", "5.1"]) |
| 24 | expected = np.array([1.0, 2.0, -3.0, 5.1]) |
| 25 | output = to_numeric(arg) |
| 26 | expected_dtype = "int64" |
| 27 | assert output.dtype == expected_dtype |
| 28 | assert isinstance(output, Array) |
| 29 | assert list(output.compute()) == list(expected) |
| 30 | |
| 31 | |
| 32 | def test_to_numeric_on_dask_array_with_meta(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…