Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
Signed-off-by: Labanya Mukhopadhyay <[email protected]>
  • Loading branch information
sfc-gh-lmukhopadhyay committed Dec 12, 2024
1 parent abceac0 commit 5da8a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10175,7 +10175,7 @@ def snowflake_cortex_sentiment(text: ColumnOrLiteralStr):
>>> content = "A very very bad review!"
>>> df = session.create_dataframe([[content]], schema=["content"])
>>> df.select(snowflake_cortex_sentiment(content).collect()[0][0]
>>> df.select(snowflake_cortex_sentiment(content)).collect()[0][0]
-0.74
"""
sql_func_name = "snowflake.cortex.sentiment"
Expand Down

0 comments on commit 5da8a19

Please sign in to comment.