import at top · pandas-dev/pandas@8a8bdb0 (original) (raw)

Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
5 5 from pandas import compat
6 6 from pandas.core.dtypes.generic import ABCIndexClass, ABCCategoricalIndex
7 7 from pandas._libs.tslibs import Period, NaT
8 +from pandas._libs.interval import Interval
8 9
9 10 from .base import ExtensionDtype, _DtypeOpsMixin
10 11
@@ -791,7 +792,6 @@ def construct_from_string(cls, string):
791 792
792 793 @property
793 794 def type(self):
794 -from pandas import Interval
795 795 return Interval
796 796
797 797 def __unicode__(self):