Skip to content

Commit a68bb30

Browse files
committed
Removed outdated examples for pd.Interval (pandas-dev#36002)
1 parent e273ead commit a68bb30

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)