HyukjinKwon commented on a change in pull request #34886:
URL: https://github.com/apache/spark/pull/34886#discussion_r769500438



##########
File path: python/pyspark/pandas/typedef/typehints.py
##########
@@ -585,17 +580,12 @@ def infer_return_type(f: Callable) -> Union[SeriesType, 
DataFrameType, ScalarTyp
         return SeriesType(dtype, spark_type)
 
     # Note that, DataFrame type hints will create a Tuple.
-    # Python 3.6 has `__name__`. Python 3.7 and 3.8 have `_name`.

Review comment:
       There's similar instance at `python/pyspark/sql/pandas/typehints.py` too.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to