You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -1026,8 +1026,8 @@ Deprecations
1026
1026
The functionality is unchanged. This new name better reflects the natures of
1027
1027
these codes and makes the API more similar to the API for
1028
1028
:class:`CategoricalIndex`(:issue:`13443`).
1029
-
As a concequence, other uses of the name ``labels`` have also been deprecated in ``MultiIndex`` and replaced with ``codes``:
1030
-
- You should initialize a MultiIndex instance using a parameter named ``codes`` rather than ``labels``.
1029
+
As a consequence, other uses of the name ``labels`` have also been deprecated in ``MultiIndex`` and replaced with ``codes``:
1030
+
- You should initialize a ``MultiIndex`` instance using a parameter named ``codes`` rather than ``labels``.
1031
1031
- :meth:`MultiIndex.set_labels` has been deprecated in favor of :meth:`MultiIndex.set_codes`
1032
1032
- for method :meth:`MultiIndex.copy`, the ``labels`` parameter has been deprecated and replaced by a ``codes`` parameter.
1033
1033
- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :class:`StataReader` and :class:`StataWriter` have deprecated the ``encoding`` argument. The encoding of a Stata dta file is determined by the file type and cannot be changed (:issue:`21244`)
0 commit comments