Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
LossySetitemError,
)
from pandas.errors.cow import _chained_assignment_msg
from pandas.util._decorators import doc
from pandas.util._decorators import (
doc,
set_module,
)

from pandas.core.dtypes.cast import (
can_hold_element,
Expand Down Expand Up @@ -101,6 +104,7 @@


# the public IndexSlicerMaker
@set_module("pandas")
class _IndexSlice:
"""
Create an object to more easily perform multi-index slicing.
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,5 +457,6 @@ def test_set_module():
assert pd.to_timedelta.__module__ == "pandas"
assert pd.to_numeric.__module__ == "pandas"
assert pd.NamedAgg.__module__ == "pandas"
assert pd.IndexSlice.__module__ == "pandas"
assert api.typing.SeriesGroupBy.__module__ == "pandas.api.typing"
assert api.typing.DataFrameGroupBy.__module__ == "pandas.api.typing"
Loading