From e13258a1f278be13398084149014c7c0a5043e23 Mon Sep 17 00:00:00 2001 From: attack68 <24256554+attack68@users.noreply.github.com> Date: Sun, 4 Jul 2021 00:46:35 +0200 Subject: [PATCH] Backport PR #42342: DOC: fix docs after deprecation of args --- pandas/core/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 43738831981d2..2c191a2cc9a68 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -5074,9 +5074,9 @@ def between(self, left, right, inclusive="both") -> Series: 4 False dtype: bool - With `inclusive` set to ``False`` boundary values are excluded: + With `inclusive` set to ``"neither"`` boundary values are excluded: - >>> s.between(1, 4, inclusive=False) + >>> s.between(1, 4, inclusive="neither") 0 True 1 False 2 False