Skip to content

Commit 879c9f0

Browse files
author
Christopher C. Aycock
committed
Tweak prose to include statement on version and parameters
1 parent ce5caaa commit 879c9f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tools/merge.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ def merge_asof(left, right, on=None,
278278
left's key. A "forward" search selects the first row in the right DataFrame
279279
whose 'on' key is greater than or equal to the left's key. A "nearest"
280280
search selects the row in the right DataFrame whose 'on' key is closest
281-
in absolute distance to the left's key.
282-
283-
.. versionadded:: "forward" and "nearest" added in 0.20.0
281+
in absolute distance to the left's key. (The default is "backward" and is
282+
the compatible in versions below 0.20.0. The direction parameter was added
283+
in version 0.20.0 and introduces "forward" and "nearest".)
284284
285285
Optionally match on equivalent keys with 'by' before searching with 'on'.
286286

0 commit comments

Comments
 (0)