From reviews-return-1031626-archive-asf-public=cust-asf.ponee.io@spark.apache.org Wed Feb 5 12:08:01 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B264918061A for ; Wed, 5 Feb 2020 13:08:00 +0100 (CET) Received: (qmail 16231 invoked by uid 500); 5 Feb 2020 12:08:00 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 16219 invoked by uid 99); 5 Feb 2020 12:08:00 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2020 12:08:00 +0000 From: GitBox To: reviews@spark.apache.org Subject: [GitHub] [spark] HyukjinKwon commented on a change in pull request #27466: [SPARK-30722][PYTHON][DOCS] Update documentation for Pandas UDF with Python type hints Message-ID: <158090447993.6065.17889596079337506637.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Wed, 05 Feb 2020 12:07:59 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit HyukjinKwon commented on a change in pull request #27466: [SPARK-30722][PYTHON][DOCS] Update documentation for Pandas UDF with Python type hints URL: https://github.com/apache/spark/pull/27466#discussion_r375218392 ########## File path: python/pyspark/sql/pandas/group_ops.py ########## @@ -121,8 +119,56 @@ def applyInPandas(self, func, schema): | 2| 1.1094003924504583| +---+-------------------+ - .. seealso:: :meth:`pyspark.sql.functions.pandas_udf` + Alternatively, the user can pass a function that takes two arguments. Review comment: Information ported from GROUPED MAP in `pandas_udf`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org