diff --git a/python/cudf/cudf/core/column/column.py b/python/cudf/cudf/core/column/column.py index a3a6813908a..bd67376642f 100644 --- a/python/cudf/cudf/core/column/column.py +++ b/python/cudf/cudf/core/column/column.py @@ -1122,6 +1122,13 @@ def argsort( ) return sorted_indices + def __arrow_array__(self, type=None): + raise TypeError( + "Implicit conversion to a host PyArrow Array via __arrow_array__ " + "is not allowed, To explicitly construct a PyArrow Array, " + "consider using .to_arrow()" + ) + def __array__(self, dtype=None): raise TypeError( "Implicit conversion to a host NumPy array via __array__ is not "