xinrong-databricks commented on a change in pull request #33901:
URL: https://github.com/apache/spark/pull/33901#discussion_r702042267
##########
File path: python/pyspark/pandas/indexes/base.py
##########
@@ -527,6 +527,8 @@ def map(
"""
Map values using input correspondence (a dict, Series, or function).
+ versionadded:: 3.3.0
Review comment:
Oh right.
##########
File path: python/pyspark/pandas/indexes/category.py
##########
@@ -645,6 +645,8 @@ def map( # type: ignore[override]
If a `dict` or `Series` is used any unmapped category is mapped to
missing values.
Note that if this happens an `Index` will be returned.
+ versionadded:: 3.3.0
Review comment:
Thanks!
--
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]