Skip to content

Commit 767f2ab

Browse files
authored
Removed outdated examples for pd.Interval (#36002) (#36026)
1 parent e6ebb5c commit 767f2ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pandas/_libs/interval.pyx

-6
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,6 @@ cdef class Interval(IntervalMixin):
291291
True
292292
>>> year_2017.length
293293
Timedelta('365 days 00:00:00')
294-
295-
And also you can create string intervals
296-
297-
>>> volume_1 = pd.Interval('Ant', 'Dog', closed='both')
298-
>>> 'Bee' in volume_1
299-
True
300294
"""
301295
_typ = "interval"
302296
__array_priority__ = 1000

0 commit comments

Comments
 (0)