HyukjinKwon commented on code in PR #41514:
URL: https://github.com/apache/spark/pull/41514#discussion_r1227418655
##########
python/pyspark/pandas/data_type_ops/num_ops.py:
##########
@@ -213,37 +214,44 @@ def abs(self, operand: IndexOpsLike) -> IndexOpsLike:
F.abs(operand.spark.column), field=operand._internal.data_fields[0]
)
+ def eq(self, left: IndexOpsLike, right: Any) -> SeriesOrIndex:
+ try:
+ _sanitize_list_like(right)
+ except TypeError:
Review Comment:
Can you update your PR description, add a bit of docstring in
`_is_extension_dtypes`? I can't follow why we need try-except here but not in
`ne`.
--
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]