Skip to content

DOC: Fix PR06 docstring errors in pandas.merge_asof #28794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pandas/core/reshape/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _groupby_and_merge(by, on, left, right, _merge_pieces, check_duplicates=True
left: left frame
right: right frame
_merge_pieces: function for merging
check_duplicates: boolean, default True
check_duplicates: bool, default True
should we check & clean duplicates
"""

Expand Down Expand Up @@ -339,9 +339,9 @@ def merge_asof(
Field name to join on in left DataFrame.
right_on : label
Field name to join on in right DataFrame.
left_index : boolean
left_index : bool
Use the index of the left DataFrame as the join key.
right_index : boolean
right_index : bool
Use the index of the right DataFrame as the join key.
by : column name or list of column names
Match on these columns before performing merge operation.
Expand All @@ -352,10 +352,10 @@ def merge_asof(
suffixes : 2-length sequence (tuple, list, ...)
Suffix to apply to overlapping column names in the left and right
side, respectively.
tolerance : integer or Timedelta, optional, default None
tolerance : int or Timedelta, optional, default None
Select asof tolerance within this range; must be compatible
with the merge index.
allow_exact_matches : boolean, default True
allow_exact_matches : bool, default True

- If True, allow matching with the same 'on' value
(i.e. less-than-or-equal-to / greater-than-or-equal-to)
Expand Down Expand Up @@ -1267,7 +1267,7 @@ def _get_join_indexers(left_keys, right_keys, sort=False, how="inner", **kwargs)
----------
left_keys: ndarray, Index, Series
right_keys: ndarray, Index, Series
sort: boolean, default False
sort: bool, default False
how: string {'inner', 'outer', 'left', 'right'}, default 'inner'

Returns
Expand Down