Skip to content

Commit 7c11b40

Browse files
DOC: Add missing attributes and methods to MultiIndex API documentation (#50594)
* Add attributes and methods to MultiIndex documentation page to make it self contained * move IndexSlice away from MultiIndex * split IndexSlice as new category * move IndexSlice to multiIndex as It's under multiIndex category Co-authored-by: Elvis Lim <[email protected]>
1 parent ec48bd4 commit 7c11b40

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

doc/source/reference/indexing.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,14 @@ MultiIndex
253253
----------
254254
.. autosummary::
255255
:toctree: api/
256-
:template: autosummary/class_without_autosummary.rst
257256

258-
MultiIndex
257+
IndexSlice
259258

260259
.. autosummary::
261260
:toctree: api/
261+
:template: autosummary/class_without_autosummary.rst
262262

263-
IndexSlice
263+
MultiIndex
264264

265265
MultiIndex constructors
266266
~~~~~~~~~~~~~~~~~~~~~~~

pandas/core/indexes/multi.py

+6
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ class MultiIndex(Index):
239239
codes
240240
nlevels
241241
levshape
242+
dtypes
242243
243244
Methods
244245
-------
@@ -255,7 +256,12 @@ class MultiIndex(Index):
255256
swaplevel
256257
reorder_levels
257258
remove_unused_levels
259+
get_level_values
260+
get_indexer
261+
get_loc
258262
get_locs
263+
get_loc_level
264+
drop
259265
260266
See Also
261267
--------

0 commit comments

Comments
 (0)