From b341c7f95f18b0f94150c3678e58429c92f7e13d Mon Sep 17 00:00:00 2001 From: writinwaters <93570324+writinwaters@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:08:51 +0800 Subject: [PATCH] minor tweak (#2169) ### Type of change - [x] Documentation Update --- docs/references/pysdk_api_reference.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/references/pysdk_api_reference.md b/docs/references/pysdk_api_reference.md index d81f7f93a0..cf7c6bf84c 100644 --- a/docs/references/pysdk_api_reference.md +++ b/docs/references/pysdk_api_reference.md @@ -2078,8 +2078,9 @@ This method specifies the projection columns for the current table but does not ```python table_obj.output(["doctitle", "docdate", "body"]).highlight(["body"]).match_text("body^5", "harmful chemical", 3).to_pl() +# The matched words will be enclosed in and +``` -# The matched words will be embraced by and --- ## fusion @@ -2243,6 +2244,10 @@ Returns the query result in pandas DataFrame format. Call `to_df()` in a chain after (not necessarily "immediately after") `output(columns)` on the same table object. ::: +### Returns + +A `pandas.DataFrame` object. + ### Examples ```python @@ -2250,10 +2255,6 @@ Call `to_df()` in a chain after (not necessarily "immediately after") `output(co res = table_object.output(["c1", "c2"]).to_df() ``` -### Returns - -A `pandas.DataFrame` object. - ## to_pl ```python