From a68bb30727224aeddc1f4a115a61a1b0999b5481 Mon Sep 17 00:00:00 2001 From: souris-dev Date: Tue, 1 Sep 2020 10:46:12 +0530 Subject: [PATCH] Removed outdated examples for pd.Interval (pandas-dev#36002) --- pandas/_libs/interval.pyx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx index 40bd5ad8f5a1f..931ad8326c371 100644 --- a/pandas/_libs/interval.pyx +++ b/pandas/_libs/interval.pyx @@ -291,12 +291,6 @@ cdef class Interval(IntervalMixin): True >>> year_2017.length Timedelta('365 days 00:00:00') - - And also you can create string intervals - - >>> volume_1 = pd.Interval('Ant', 'Dog', closed='both') - >>> 'Bee' in volume_1 - True """ _typ = "interval" __array_priority__ = 1000