zhengruifeng commented on code in PR #36246:
URL: https://github.com/apache/spark/pull/36246#discussion_r853024275
##########
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:
since `ffill`/`bfill` is not supported in `interpolate` for now, so I don't
add those descriptions.
`ffill`/`bfill` is now only supported in `fillna`.
--
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]