You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/06/18 21:09:13 UTC
[GitHub] [spark] pingsutw commented on a change in pull request #32886: [SPARK-35478][PYTHON] Enable disallow_untyped_defs mypy check for pyspark.pandas.window.
pingsutw commented on a change in pull request #32886:
URL: https://github.com/apache/spark/pull/32886#discussion_r654243632
##########
File path: python/pyspark/pandas/base.py
##########
@@ -768,7 +768,7 @@ def ndim(self) -> int:
"""
return 1
- def astype(self, dtype: Union[str, type, Dtype]) -> Union["Index", "Series"]:
+ def astype(self, dtype: Union[str, type, Dtype]) -> Union["Index", "Series", "DataFrame"]:
Review comment:
Sorry to update so late. I was in the army a couple days ago.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org