HyukjinKwon commented on a change in pull request #33356:
URL: https://github.com/apache/spark/pull/33356#discussion_r670203226
##########
File path: python/pyspark/pandas/indexing.py
##########
@@ -1646,14 +1646,14 @@ def _select_rows_by_iterable(
) -> Tuple[Optional[Column], Optional[int], Optional[int]]:
sdf = self._internal.spark_frame
- if any(isinstance(key, (int, np.int, np.int64, np.int32)) and key < 0
for key in rows_sel):
Review comment:
`np.float` == `float`, etc. 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]