Skip to content

Commit 71885ec

Browse files
authored
DOC: Typo in shared_docs (#61497)
Typo in shared_docs
1 parent 1ccdfe6 commit 71885ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/shared_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,15 +380,15 @@
380380
replaced with `value`
381381
- str: string exactly matching `to_replace` will be replaced
382382
with `value`
383-
- regex: regexs matching `to_replace` will be replaced with
383+
- regex: regexes matching `to_replace` will be replaced with
384384
`value`
385385
386386
* list of str, regex, or numeric:
387387
388388
- First, if `to_replace` and `value` are both lists, they
389389
**must** be the same length.
390390
- Second, if ``regex=True`` then all of the strings in **both**
391-
lists will be interpreted as regexs otherwise they will match
391+
lists will be interpreted as regexes otherwise they will match
392392
directly. This doesn't matter much for `value` since there
393393
are only a few possible substitution regexes you can use.
394394
- str, regex and numeric rules apply as above.

0 commit comments

Comments
 (0)