This is an automated email from the ASF dual-hosted git repository. ruifengz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 68345e7f5d9 [SPARK-44289][FOLLOWUP] Cleanup doctest 68345e7f5d9 is described below commit 68345e7f5d9be121d02f8b23e66eeecaeabc0778 Author: itholic <haejoon....@databricks.com> AuthorDate: Fri Aug 18 20:38:58 2023 +0800 [SPARK-44289][FOLLOWUP] Cleanup doctest ### What changes were proposed in this pull request? This is followup for https://github.com/apache/spark/pull/42533 to remove meaningless import ### Why are the changes needed? import numpy is not needed for doctest. ### Does this PR introduce _any_ user-facing change? This impacts to user-facing documents, so it's sort of user-facing cleanup. ### How was this patch tested? The existing CI should pass Closes #42552 from itholic/test-followup. Authored-by: itholic <haejoon....@databricks.com> Signed-off-by: Ruifeng Zheng <ruife...@apache.org> --- python/pyspark/pandas/groupby.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/pyspark/pandas/groupby.py b/python/pyspark/pandas/groupby.py index f9d93299e3e..df671d71eec 100644 --- a/python/pyspark/pandas/groupby.py +++ b/python/pyspark/pandas/groupby.py @@ -4165,7 +4165,6 @@ class SeriesGroupBy(GroupBy[Series]): Examples -------- - >>> import numpy as np >>> df = ps.DataFrame({'A': [1, 2, 2, 3, 3, 3], ... 'B': [1, 1, 2, 3, 3, np.nan]}, ... columns=['A', 'B']) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org