Skip to content

Commit

Permalink
Update pandas/core/shared_docs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Roeschke <[email protected]>
  • Loading branch information
jpgianfaldoni and mroeschke authored Nov 3, 2023
1 parent 46343d4 commit c6a99f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/shared_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@
3 3 e i
4 4 e j
If `value` is not ``None`` and `to_replace` is a dictionary, the dictionary
If ``value`` is not ``None`` and `to_replace` is a dictionary, the dictionary
keys will be the DataFrame columns that the replacement will be applied.
>>> df.replace(to_replace={{'B': '^[a-c]', 'C': '^[h-j]'}}, value = 'e', regex=True)
Expand Down

0 comments on commit c6a99f5

Please sign in to comment.