xinrong-databricks commented on a change in pull request #33373:
URL: https://github.com/apache/spark/pull/33373#discussion_r671590077



##########
File path: python/pyspark/pandas/tests/data_type_ops/test_categorical_ops.py
##########
@@ -46,24 +46,20 @@ def other_psser(self):
 
     @property
     def ordered_pser(self):
-        return pd.Series([1, 2, 3]).astype(CategoricalDtype([3, 2, 1], 
ordered=True))
+        return pd.Series([1, "x", "y"]).astype(CategoricalDtype(["y", 1, "x"], 
ordered=True))

Review comment:
       The example in the PR description is updated as well.




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