From d50558b6a0575d7f9f14ba99e96fa699aca89091 Mon Sep 17 00:00:00 2001 From: Nick Crews Date: Mon, 2 Oct 2023 10:50:52 -0800 Subject: [PATCH] docs: improve Table.columns docstring Before it could be interpreted that this returned Column objects. But it just returns string names of the columns. Per review comment, I'm not putting in the full `list[str]` type annotation because it should get rendered in quartodoc, it just isn't. --- ibis/expr/types/relations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibis/expr/types/relations.py b/ibis/expr/types/relations.py index bdb3ee8747e6..edc617ac18c6 100644 --- a/ibis/expr/types/relations.py +++ b/ibis/expr/types/relations.py @@ -677,7 +677,7 @@ def _ensure_expr(self, expr): @property def columns(self) -> list[str]: - """The list of columns in this table. + """The list of column names in this table. Examples --------