From 78292b3dcbadcb8c71f3537fa3f39481ff58dbf5 Mon Sep 17 00:00:00 2001 From: "JHM Darbyshire (iMac)" Date: Fri, 2 Jul 2021 12:33:22 +0200 Subject: [PATCH] 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 c79ecd554bed5..800e8c7d88406 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -5072,9 +5072,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