File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6767)
6868from pandas .core .indexes .period import period_range
6969from pandas .core .indexes .timedeltas import timedelta_range
70- from pandas .core .indexing import IndexSlice
70+ from pandas .core .indexing import IndexSlice as _IndexSlice
7171from pandas .core .series import Series
7272from pandas .core .tools .datetimes import to_datetime
7373from pandas .core .tools .numeric import to_numeric
7979# DataFrame needs to be imported after NamedAgg to avoid a circular import
8080from pandas .core .frame import DataFrame # isort:skip
8181
82+ IndexSlice = _IndexSlice ()
83+
8284__all__ = [
8385 "array" ,
8486 "ArrowDtype" ,
Original file line number Diff line number Diff line change 102102
103103# the public IndexSlicerMaker
104104@set_module ("pandas" )
105- class _IndexSlice :
105+ class IndexSlice :
106106 """
107107 Create an object to more easily perform multi-index slicing.
108108
@@ -149,8 +149,6 @@ def __getitem__(self, arg):
149149 return arg
150150
151151
152- IndexSlice = _IndexSlice ()
153-
154152
155153class IndexingMixin :
156154 """
You can’t perform that action at this time.
0 commit comments