Skip to content

Commit f76e814

Browse files
chrisaycockmattip
authored andcommitted
DOC: Fix typos in merge_asof() docstring (pandas-dev#15729)
1 parent 13e2620 commit f76e814

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/tools/merge.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def merge_asof(left, right, on=None,
295295
- A "nearest" search selects the row in the right DataFrame whose 'on'
296296
key is closest in absolute distance to the left's key.
297297
298-
The default is "backward" and is the compatible in versions below 0.20.0.
298+
The default is "backward" and is compatible in versions below 0.20.0.
299299
The direction parameter was added in version 0.20.0 and introduces
300300
"forward" and "nearest".
301301
@@ -340,13 +340,13 @@ def merge_asof(left, right, on=None,
340340
341341
suffixes : 2-length sequence (tuple, list, ...)
342342
Suffix to apply to overlapping column names in the left and right
343-
side, respectively
343+
side, respectively.
344344
tolerance : integer or Timedelta, optional, default None
345-
select asof tolerance within this range; must be compatible
346-
to the merge index.
345+
Select asof tolerance within this range; must be compatible
346+
with the merge index.
347347
allow_exact_matches : boolean, default True
348348
349-
- If True, allow matching the same 'on' value
349+
- If True, allow matching with the same 'on' value
350350
(i.e. less-than-or-equal-to / greater-than-or-equal-to)
351351
- If False, don't match the same 'on' value
352352
(i.e., stricly less-than / strictly greater-than)

0 commit comments

Comments
 (0)