zhengruifeng commented on code in PR #53478:
URL: https://github.com/apache/spark/pull/53478#discussion_r2629265150
##########
python/pyspark/pandas/frame.py:
##########
@@ -11141,9 +11141,12 @@ def all(
return self._result_aggregated(column_labels, applied)
- # TODO(SPARK-46166): axis and **kwargs should be implemented.
def any(
- self, axis: Axis = 0, bool_only: Optional[bool] = None, skipna: bool =
True
+ self,
+ axis: Optional[Axis] = 0,
+ bool_only: Optional[bool] = None,
+ skipna: bool = True,
+ **kwargs: Any,
Review Comment:
I cannot find an example with kwargs in
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.any.html,
not sure how it works in pandas.
But in PS, I prefer not adding it if it doesn't take effect.
--
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]