diff --git a/python/dask_cudf/dask_cudf/backends.py b/python/dask_cudf/dask_cudf/backends.py index 505430b5cfe..dbb1109b7d3 100644 --- a/python/dask_cudf/dask_cudf/backends.py +++ b/python/dask_cudf/dask_cudf/backends.py @@ -6,6 +6,7 @@ import numpy as np import pandas as pd import pyarrow as pa +from pandas.api.types import is_scalar from dask.dataframe.core import get_parallel_type, meta_nonempty from dask.dataframe.dispatch import ( @@ -22,11 +23,10 @@ UNKNOWN_CATEGORIES, _nonempty_scalar, _scalar_from_dtype, - is_arraylike, - is_scalar, make_meta_obj, ) from dask.sizeof import sizeof as sizeof_dispatch +from dask.utils import is_arraylike import cudf from cudf.api.types import is_string_dtype