File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3333 unique = 'IndexOpsMixin' , duplicated = 'IndexOpsMixin' )
3434
3535
36+ class InvalidIndexError (Exception ):
37+ pass
38+
39+
3640class StringMixin (object ):
3741 """implements string methods so long as object defines a `__unicode__`
3842 method.
Original file line number Diff line number Diff line change 3737from pandas .core .accessor import CachedAccessor , DirNamesMixin
3838import pandas .core .algorithms as algos
3939from pandas .core .arrays import ExtensionArray
40- from pandas .core .base import IndexOpsMixin , PandasObject
40+ from pandas .core .base import IndexOpsMixin , PandasObject , InvalidIndexError
4141import pandas .core .common as com
4242from pandas .core .indexes .frozen import FrozenList
4343import pandas .core .missing as missing
@@ -143,10 +143,6 @@ def index_arithmetic_method(self, other):
143143 return set_function_name (index_arithmetic_method , name , cls )
144144
145145
146- class InvalidIndexError (Exception ):
147- pass
148-
149-
150146_o_dtype = np .dtype (object )
151147_Identity = object
152148
You can’t perform that action at this time.
0 commit comments