diff --git a/ibis/expr/types/relations.py b/ibis/expr/types/relations.py index c7b6619639a8..1c321797dcb6 100644 --- a/ibis/expr/types/relations.py +++ b/ibis/expr/types/relations.py @@ -1812,13 +1812,8 @@ def difference(self, table: Table, *rest: Table, distinct: bool = True) -> Table @deprecated(as_of="9.0", instead="use table.as_scalar() instead") def to_array(self) -> ir.Column: - """View a single column table as an array. + """Deprecated - use `as_scalar` instead.""" - Returns - ------- - Value - A single column view of a table - """ schema = self.schema() if len(schema) != 1: raise com.ExpressionError(