Skip to content

Commit 5163bc2

Browse files
gdrapswesm
authored andcommitted
DOC: correct default merge suffixes: _x,_y
1 parent b5b04e0 commit 5163bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/merging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ standard database join operations between DataFrame objects:
311311

312312
merge(left, right, how='left', on=None, left_on=None, right_on=None,
313313
left_index=False, right_index=False, sort=True,
314-
suffixes=('.x', '.y'), copy=True)
314+
suffixes=('_x', '_y'), copy=True)
315315

316316
Here's a description of what each argument is for:
317317

@@ -336,7 +336,7 @@ Here's a description of what each argument is for:
336336
order. Defaults to ``True``, setting to ``False`` will improve performance
337337
substantially in many cases
338338
- ``suffixes``: A tuple of string suffixes to apply to overlapping
339-
columns. Defaults to ``('.x', '.y')``.
339+
columns. Defaults to ``('_x', '_y')``.
340340
- ``copy``: Always copy data (default ``True``) from the passed DataFrame
341341
objects, even when reindexing is not necessary. Cannot be avoided in many
342342
cases but may improve performance / memory usage. The cases where copying

0 commit comments

Comments
 (0)