File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1102,8 +1102,9 @@ Deprecations
1102
1102
1103
1103
- :attr: `MultiIndex.labels ` has been deprecated and replaced by :attr: `MultiIndex.codes `.
1104
1104
The functionality is unchanged. The new name better reflects the natures of
1105
- these codes and makes the ``MultiIndex `` API more similar to the API for :class: `CategoricalIndex`(:issue:`13443 `).
1105
+ these codes and makes the ``MultiIndex `` API more similar to the API for :class: `CategoricalIndex ` (:issue: `13443 `).
1106
1106
As a consequence, other uses of the name ``labels `` in ``MultiIndex `` have also been deprecated and replaced with ``codes ``:
1107
+
1107
1108
- You should initialize a ``MultiIndex `` instance using a parameter named ``codes `` rather than ``labels ``.
1108
1109
- ``MultiIndex.set_labels `` has been deprecated in favor of :meth: `MultiIndex.set_codes `.
1109
1110
- For method :meth: `MultiIndex.copy `, the ``labels `` parameter has been deprecated and replaced by a ``codes `` parameter.
Original file line number Diff line number Diff line change 4
4
These are used for:
5
5
6
6
- .names (FrozenList)
7
- - .levels & .labels (FrozenNDArray)
7
+ - .levels & .codes (FrozenNDArray)
8
8
9
9
"""
10
10
You can’t perform that action at this time.
0 commit comments