Skip to content

Commit 8a8bdb0

Browse files
committed
import at top
1 parent 99bafdd commit 8a8bdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/dtypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from pandas import compat
66
from pandas.core.dtypes.generic import ABCIndexClass, ABCCategoricalIndex
77
from pandas._libs.tslibs import Period, NaT
8+
from pandas._libs.interval import Interval
89

910
from .base import ExtensionDtype, _DtypeOpsMixin
1011

@@ -791,7 +792,6 @@ def construct_from_string(cls, string):
791792

792793
@property
793794
def type(self):
794-
from pandas import Interval
795795
return Interval
796796

797797
def __unicode__(self):

0 commit comments

Comments
 (0)