API: Remove IntervalArray from top-level by TomAugspurger · Pull Request #24926 · pandas-dev/pandas (original) (raw)

2019-01-25T13:45:18.3796803Z 
2019-01-25T13:45:18.3796844Z =================================== FAILURES ===================================
2019-01-25T13:45:18.3796901Z _________ [doctest] pandas.core.arrays.interval.IntervalArray.overlaps _________
2019-01-25T13:45:18.3796959Z 1096 ndarray
2019-01-25T13:45:18.3796997Z 1097     Boolean array positionally indicating where an overlap occurs.
2019-01-25T13:45:18.3797032Z 1098 
2019-01-25T13:45:18.3797083Z 1099 See Also
2019-01-25T13:45:18.3797548Z 1100 --------
2019-01-25T13:45:18.3797595Z 1101 Interval.overlaps : Check whether two Interval objects overlap.
2019-01-25T13:45:18.3797632Z 1102 
2019-01-25T13:45:18.3797680Z 1103 Examples
2019-01-25T13:45:18.3797850Z 1104 --------
2019-01-25T13:45:18.3797892Z 1105 >>> intervals = pd.IntervalArray.from_tuples([(0, 1), (1, 3), (2, 4)])
2019-01-25T13:45:18.3798294Z UNEXPECTED EXCEPTION: AttributeError("module 'pandas' has no attribute 'IntervalArray'")
2019-01-25T13:45:18.3798337Z Traceback (most recent call last):
2019-01-25T13:45:18.3798363Z 
2019-01-25T13:45:18.3798808Z   File "/home/vsts/miniconda3/envs/pandas-dev/lib/python3.7/doctest.py", line 1329, in __run
2019-01-25T13:45:18.3798879Z     compileflags, 1), test.globs)
2019-01-25T13:45:18.3798903Z 
2019-01-25T13:45:18.3798942Z   File "<doctest pandas.core.arrays.interval.IntervalArray.overlaps[0]>", line 1, in <module>
2019-01-25T13:45:18.3798988Z 
2019-01-25T13:45:18.3799178Z AttributeError: module 'pandas' has no attribute 'IntervalArray'
2019-01-25T13:45:18.3799208Z 
2019-01-25T13:45:18.3799246Z /home/vsts/work/1/s/pandas/core/arrays/interval.py:1105: UnexpectedException
2019-01-25T13:45:18.3799413Z ============== 1 failed, 6 passed, 12 deselected in 0.05 seconds ===============
2019-01-25T13:45:18.4697773Z Doctests interval classes DONE