Skip to content

Commit 9109fd1

Browse files
docstring correction
1 parent 49d0b74 commit 9109fd1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
sort : bool, default False
369369
Sort the join keys lexicographically in the result DataFrame. If False,
370370
the order of the join keys depends on the join type (how keyword).
371-
diff_option : Literal str
371+
diff_option : Literal
372372
The allowed values are "suffix"、"prefix"、"both",default "suffix".
373373
If the value is "suffix", the duplicated columns will be differentiated
374374
using the suffixes provided by parameter "suffixes".
@@ -384,7 +384,7 @@
384384
of a string to indicate that the column name from `left` or
385385
`right` should be left as-is, with no suffix. At least one of the
386386
values must not be None.
387-
prefixes : list-like, default is ("a_", "b_")
387+
prefixes : list-like, default is (``"a_"``, ``"b_"``)
388388
A length-2 sequence where each element is optionally a string
389389
indicating the prefix to add to overlapping column names in
390390
`left` and `right` respectively. Pass a value of `None` instead

pandas/core/reshape/merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def merge(
241241
of a string to indicate that the column name from `left` or
242242
`right` should be left as-is, with no suffix. At least one of the
243243
values must not be None.
244-
prefixes : list-like, default is ("a_", "b_")
244+
prefixes : list-like, default is (``"a_"``, ``"b_"``)
245245
A length-2 sequence where each element is optionally a string
246246
indicating the prefix to add to overlapping column names in
247247
`left` and `right` respectively. Pass a value of `None` instead

0 commit comments

Comments
 (0)