diff --git a/python/cudf/cudf/core/dataframe.py b/python/cudf/cudf/core/dataframe.py index 25f2f71b40d..48406f74155 100644 --- a/python/cudf/cudf/core/dataframe.py +++ b/python/cudf/cudf/core/dataframe.py @@ -568,6 +568,10 @@ def __init__( for k in columns } ) + elif isinstance(data, ColumnAccessor): + result = self._from_data(data, index, columns) + self._data = result._data + self._index = result._index elif hasattr(data, "__cuda_array_interface__"): arr_interface = data.__cuda_array_interface__