Skip to content

Commit 0347e43

Browse files
DOC: fix PR01 for pandas.MultiIndex (#58833)
1 parent 5e97237 commit 0347e43

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
7676
-i "pandas.DataFrame.min RT03" \
7777
-i "pandas.DataFrame.plot PR02,SA01" \
7878
-i "pandas.Grouper PR02" \
79-
-i "pandas.MultiIndex PR01" \
8079
-i "pandas.MultiIndex.append PR07,SA01" \
8180
-i "pandas.MultiIndex.copy PR07,RT03,SA01" \
8281
-i "pandas.MultiIndex.drop PR07,RT03,SA01" \

pandas/core/indexes/multi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,12 @@ class MultiIndex(Index):
209209
level).
210210
names : optional sequence of objects
211211
Names for each of the index levels. (name is accepted for compat).
212+
dtype : Numpy dtype or pandas type, optional
213+
Data type for the MultiIndex.
212214
copy : bool, default False
213215
Copy the meta-data.
216+
name : Label
217+
Kept for compatibility with 1-dimensional Index. Should not be used.
214218
verify_integrity : bool, default True
215219
Check that the levels/codes are consistent and valid.
216220

0 commit comments

Comments
 (0)