File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
84
84
-i " pandas.MultiIndex.get_loc_level PR07" \
85
85
-i " pandas.MultiIndex.levshape SA01" \
86
86
-i " pandas.MultiIndex.names SA01" \
87
- -i " pandas.MultiIndex.nlevels SA01" \
88
87
-i " pandas.MultiIndex.remove_unused_levels RT03,SA01" \
89
88
-i " pandas.MultiIndex.reorder_levels RT03,SA01" \
90
89
-i " pandas.MultiIndex.set_levels RT03,SA01" \
Original file line number Diff line number Diff line change @@ -1031,6 +1031,13 @@ def nlevels(self) -> int:
1031
1031
"""
1032
1032
Integer number of levels in this MultiIndex.
1033
1033
1034
+ See Also
1035
+ --------
1036
+ MultiIndex.levels : Get the levels of the MultiIndex.
1037
+ MultiIndex.codes : Get the codes of the MultiIndex.
1038
+ MultiIndex.from_arrays : Convert arrays to MultiIndex.
1039
+ MultiIndex.from_tuples : Convert list of tuples to MultiIndex.
1040
+
1034
1041
Examples
1035
1042
--------
1036
1043
>>> mi = pd.MultiIndex.from_arrays([["a"], ["b"], ["c"]])
You can’t perform that action at this time.
0 commit comments