From 12c4fe3d042ef3fa31d29c930180d4e40f373aa3 Mon Sep 17 00:00:00 2001 From: Siew Kam Onn Date: Fri, 7 Feb 2025 09:50:02 +0800 Subject: [PATCH] docs: update docstring for into_view method to clarify usage as ViewTable --- python/datafusion/dataframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/datafusion/dataframe.py b/python/datafusion/dataframe.py index abe83e5c3..fc7d220a5 100644 --- a/python/datafusion/dataframe.py +++ b/python/datafusion/dataframe.py @@ -122,7 +122,7 @@ def __init__(self, df: DataFrameInternal) -> None: self.df = df def into_view(self) -> pa.Table: - """Register this DataFrame as a view in the current session.""" + """Register this DataFrame as a ViewTable which can be used in register_table""" return self.df.into_view() def __getitem__(self, key: str | List[str]) -> DataFrame: