Skip to content

Commit

Permalink
Delete typo in doctests (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-stan authored Nov 3, 2023
1 parent 92a77fc commit 2686a8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/snowflake/snowpark/udtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ class UDTFRegistration:
... multiply,
... output_schema=PandasDataFrameType([StringType(), IntegerType(), FloatType()], ["id_", "col1_", "col2_"]),
... input_types=[PandasDataFrameType([StringType(), IntegerType(), FloatType()])],
... input_names = ['"id"', '"col1"', '"col2"'],
... )
>>> df = session.create_dataframe([['x', 3, 35.9],['x', 9, 20.5]], schema=["id", "col1", "col2"])
>>> df.select(multiply_udtf("id", "col1", "col2").over(partition_by=["id"])).sort("col1_").show()
Expand Down

0 comments on commit 2686a8e

Please sign in to comment.