Skip to content

Commit

Permalink
DOC: add note on duplicate indices on parameter other (pandas-dev#55509)
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliobarbosa committed Feb 28, 2024
1 parent 5169022 commit d7f63a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8692,6 +8692,10 @@ def update(
dict.update : Similar method for dictionaries.
DataFrame.merge : For column(s)-on-column(s) operations.
Notes
--------
1. Duplicate indices on `other` are not supported and raises `ValueError`.
Examples
--------
>>> df = pd.DataFrame({"A": [1, 2, 3], "B": [400, 500, 600]})
Expand Down

0 comments on commit d7f63a1

Please sign in to comment.