From 46343d404739db780c9f70d7ae7dfd766359e209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Andrade?= <49215007+jpgianfaldoni@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:16:57 -0300 Subject: [PATCH] Update pandas/core/shared_docs.py Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --- pandas/core/shared_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 9eeb393422a4a..64b889994a07d 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -790,7 +790,7 @@ .. versionchanged:: 1.4.0 Previously the explicit ``None`` was silently ignored. - When `Regex`is ``True``, `value` is not ``None`` and `to_replace` is a string, + When ``regex=True``, ``value`` is not ``None`` and `to_replace` is a string, the replacement will be applied in all columns of the DataFrame. >>> df = pd.DataFrame({{'A': [0, 1, 2, 3, 4],