This is an automated email from the ASF dual-hosted git repository. gurwls223 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 3d5e3a0c221 [MINOR][DOCS][PYTHON] Update some urls about deprecated repository pyspark.pandas 3d5e3a0c221 is described below commit 3d5e3a0c221fd1d98c25473a8cdb9aa4de1f48ce Author: wuxiaolong26 <wuxiaolon...@jd.com> AuthorDate: Tue Mar 28 08:42:30 2023 +0900 [MINOR][DOCS][PYTHON] Update some urls about deprecated repository pyspark.pandas ### What changes were proposed in this pull request? Fix some deprecated urls ### Why are the changes needed? Repository about https://github.com/pyspark.pandas was deprecated, using https://github.com/databricks/koalas replace. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Matched urls and existing tests Closes #40521 from chong0929/deprecated-repo-fix. Authored-by: wuxiaolong26 <wuxiaolon...@jd.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/pyspark/pandas/generic.py | 2 +- python/pyspark/pandas/groupby.py | 2 +- python/pyspark/pandas/sql_processor.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/pyspark/pandas/generic.py b/python/pyspark/pandas/generic.py index 786db59a29d..3c7eb44b51e 100644 --- a/python/pyspark/pandas/generic.py +++ b/python/pyspark/pandas/generic.py @@ -2726,7 +2726,7 @@ class Frame(object, metaclass=ABCMeta): return Rolling(self, window=window, min_periods=min_periods) # TODO: 'center' and 'axis' parameter should be implemented. - # 'axis' implementation, refer https://github.com/pyspark.pandas/pull/607 + # 'axis' implementation, refer https://github.com/databricks/koalas/pull/607 def expanding(self: FrameLike, min_periods: int = 1) -> "Expanding[FrameLike]": """ Provide expanding transformations. diff --git a/python/pyspark/pandas/groupby.py b/python/pyspark/pandas/groupby.py index 92443b935e7..01687c3fd16 100644 --- a/python/pyspark/pandas/groupby.py +++ b/python/pyspark/pandas/groupby.py @@ -2282,7 +2282,7 @@ class GroupBy(Generic[FrameLike], metaclass=ABCMeta): # the index in some cases. # When Spark output type is specified, without executing it, we don't know # if we should restore the index or not. For instance, see the example in - # https://github.com/pyspark.pandas/issues/628. + # https://github.com/databricks/koalas/issues/628. pdf, _, _, _, _ = InternalFrame.prepare_pandas_frame( pdf, retain_index=retain_index, prefer_timestamp_ntz=prefer_timestamp_ntz ) diff --git a/python/pyspark/pandas/sql_processor.py b/python/pyspark/pandas/sql_processor.py index 28e2329b8f9..0142e8d267e 100644 --- a/python/pyspark/pandas/sql_processor.py +++ b/python/pyspark/pandas/sql_processor.py @@ -208,7 +208,7 @@ def _get_local_scope() -> Dict[str, Any]: return inspect.stack()[_CAPTURE_SCOPES][0].f_locals except Exception: # TODO (rxin, thunterdb): use a narrower scope exception. - # See https://github.com/pyspark.pandas/pull/448 + # See https://github.com/databricks/koalas/pull/448 return {} @@ -224,7 +224,7 @@ def _get_ipython_scope() -> Dict[str, Any]: return shell.user_ns except Exception: # TODO (rxin, thunterdb): use a narrower scope exception. - # See https://github.com/pyspark.pandas/pull/448 + # See https://github.com/databricks/koalas/pull/448 return None --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org