Skip to content

Commit

Permalink
Update dask_cudf imports to be compatible with latest dask (#10442)
Browse files Browse the repository at this point in the history
Updated imports to be compatible with latest dask after dask/dask#8796
This change is also compatible with dask versions prior to the above dask PR.

Tested `import dask_cudf` with both dask `2022.02.2a220314` and `2022.02.2a220315`.

Authors:
  - Rick Ratzel (https://github.com/rlratzel)

Approvers:
  - Ashwin Srinath (https://github.com/shwina)

URL: #10442
  • Loading branch information
rlratzel authored Mar 16, 2022
1 parent 1649955 commit d4ce5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/dask_cudf/dask_cudf/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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
Expand Down

0 comments on commit d4ce5d5

Please sign in to comment.