Use cudf.concat explicitly. (#4918)

* Use `cudf.concat` explicitly.

* Add test.
This commit is contained in:
Jiaming Yuan
2019-10-09 23:02:10 -04:00
committed by Rory Mitchell
parent aefb1e5c2f
commit 6c9b6f11da
4 changed files with 51 additions and 2 deletions

View File

@@ -7,16 +7,19 @@ import numpy as np
if sys.platform.startswith("win"):
pytest.skip("Skipping dask tests on Windows", allow_module_level=True)
pytestmark = pytest.mark.skipif(**tm.no_dask())
try:
from distributed.utils_test import client, loop, cluster_fixture
import dask.dataframe as dd
import dask.array as da
from xgboost.dask import DaskDMatrix
except ImportError:
client = None
loop = None
cluster_fixture = None
pass
pytestmark = pytest.mark.skipif(**tm.no_dask())
kRows = 1000