diff --git a/python/cudf/benchmarks/API/bench_dataframe.py b/python/cudf/benchmarks/API/bench_dataframe.py index 8b47a5d3d0c..ba243eb6a7c 100644 --- a/python/cudf/benchmarks/API/bench_dataframe.py +++ b/python/cudf/benchmarks/API/bench_dataframe.py @@ -18,6 +18,7 @@ def bench_construction(benchmark, N): @pytest.mark.parametrize("N", [100, 100_000]) +@pytest.mark.pandas_incompatible def bench_construction_numba_device_array(benchmark, N): benchmark(cudf.DataFrame, numba.cuda.to_device(numpy.ones((100, N)))) diff --git a/python/cudf/cudf/core/dataframe.py b/python/cudf/cudf/core/dataframe.py index 7cdbd733bff..52dc29974bf 100644 --- a/python/cudf/cudf/core/dataframe.py +++ b/python/cudf/cudf/core/dataframe.py @@ -5874,7 +5874,7 @@ def _from_arrays( ------- DataFrame """ - array_data = np.ndarray | cupy.ndarray + array_data: np.ndarray | cupy.ndarray if hasattr(data, "__cuda_array_interface__"): array_data = cupy.asarray(data, order="F") elif hasattr(data, "__array_interface__"):