diff --git a/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb b/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb index 1bcb9335256..35ca21f380e 100644 --- a/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb +++ b/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb @@ -1067,7 +1067,7 @@ " if sparseformat == 'row':\n", " _sparse_constructor = cp.sparse.csr_matrix\n", "\n", - " return _sparse_constructor(cp.from_dlpack(data.to_dlpack()))" + " return _sparse_constructor(cupy_from_dlpack(data.to_dlpack()))" ] }, {