diff --git a/python/cudf/cudf/core/frame.py b/python/cudf/cudf/core/frame.py index ccd0f0e6aac..d644856004b 100644 --- a/python/cudf/cudf/core/frame.py +++ b/python/cudf/cudf/core/frame.py @@ -498,9 +498,7 @@ def get_column_values_na(col): f"{dtype} are not yet supported via " "`__cuda_array_interface__`" ) - dtype = find_common_type( - [col.dtype for col in self._data.values()] - ) + dtype = find_common_type(dtypes) matrix = make_empty_matrix( shape=(len(self), ncol), dtype=dtype, order="F"