Skip to content

Commit

Permalink
avoid float dep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Feb 26, 2021
1 parent 301f52e commit 56dcbe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/dask_cudf/dask_cudf/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 56dcbe4

Please sign in to comment.