From 56dcbe4a7768659a09cdce7444e3665bd34d0faa Mon Sep 17 00:00:00 2001 From: rjzamora Date: Thu, 25 Feb 2021 20:19:48 -0800 Subject: [PATCH] avoid float dep warning --- python/dask_cudf/dask_cudf/tests/test_core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/dask_cudf/dask_cudf/tests/test_core.py b/python/dask_cudf/dask_cudf/tests/test_core.py index 4cd79a8df65..2d2230b5716 100644 --- a/python/dask_cudf/dask_cudf/tests/test_core.py +++ b/python/dask_cudf/dask_cudf/tests/test_core.py @@ -737,8 +737,8 @@ def test_zero_std_describe(): num = 84886781 df = cudf.DataFrame( { - "x": np.full((20,), num, dtype=np.float), - "y": np.full((20,), num, dtype=np.float), + "x": np.full((20,), num, dtype=np.float64), + "y": np.full((20,), num, dtype=np.float64), } ) pdf = df.to_pandas() @@ -752,8 +752,8 @@ def test_large_numbers_describe(): num = 8488678001 df = cudf.DataFrame( { - "x": np.arange(num, num + 1000, dtype=np.float), - "y": np.arange(num, num + 1000, dtype=np.float), + "x": np.arange(num, num + 1000, dtype=np.float64), + "y": np.arange(num, num + 1000, dtype=np.float64), } ) pdf = df.to_pandas()