From 2686a8e7a1474fef14f49c620b5d9d4629afa6c3 Mon Sep 17 00:00:00 2001 From: Sophie Tan Date: Fri, 3 Nov 2023 13:53:24 -0400 Subject: [PATCH] Delete typo in doctests (#1126) --- src/snowflake/snowpark/udtf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/snowflake/snowpark/udtf.py b/src/snowflake/snowpark/udtf.py index 784bc72873a..3b5d95f76a6 100644 --- a/src/snowflake/snowpark/udtf.py +++ b/src/snowflake/snowpark/udtf.py @@ -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()