File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33
33
unique = 'IndexOpsMixin' , duplicated = 'IndexOpsMixin' )
34
34
35
35
36
+ class InvalidIndexError (Exception ):
37
+ pass
38
+
39
+
36
40
class StringMixin (object ):
37
41
"""implements string methods so long as object defines a `__unicode__`
38
42
method.
Original file line number Diff line number Diff line change 37
37
from pandas .core .accessor import CachedAccessor , DirNamesMixin
38
38
import pandas .core .algorithms as algos
39
39
from pandas .core .arrays import ExtensionArray
40
- from pandas .core .base import IndexOpsMixin , PandasObject
40
+ from pandas .core .base import IndexOpsMixin , PandasObject , InvalidIndexError
41
41
import pandas .core .common as com
42
42
from pandas .core .indexes .frozen import FrozenList
43
43
import pandas .core .missing as missing
@@ -143,10 +143,6 @@ def index_arithmetic_method(self, other):
143
143
return set_function_name (index_arithmetic_method , name , cls )
144
144
145
145
146
- class InvalidIndexError (Exception ):
147
- pass
148
-
149
-
150
146
_o_dtype = np .dtype (object )
151
147
_Identity = object
152
148
You can’t perform that action at this time.
0 commit comments