itholic commented on code in PR #36246:
URL: https://github.com/apache/spark/pull/36246#discussion_r852544373
##########
python/pyspark/pandas/generic.py:
##########
@@ -3249,7 +3250,7 @@ def interpolate(
Parameters
----------
- method : str, default 'linear'
+ method : str, default None
Review Comment:
Would you mind giving some context why this is changed while pandas is still
using 'linear' as default ??
##########
python/pyspark/pandas/generic.py:
##########
@@ -3259,6 +3260,10 @@ def interpolate(
Maximum number of consecutive NaNs to fill. Must be greater than
0.
+ limit_direction : str, default None
+ Consecutive NaNs will be filled in this direction.
+ One of {{'forward', 'backward', 'both'}}.
Review Comment:
Could we elaborate some more detail as pandas does ?
<img width="587" alt="Screen Shot 2022-04-19 at 11 34 35 AM"
src="https://user-images.githubusercontent.com/44108233/163908818-d6ee8883-8685-402d-8cbc-f983f5565c13.png">
--
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]