Skip to content

Commit ae30697

Browse files
committed
DOC: move Categorical.name to deprecations section
1 parent 0ed46a0 commit ae30697

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/whatsnew/v0.17.0.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ Other API Changes
401401
- Enable serialization of lists and dicts to strings in ExcelWriter (:issue:`8188`)
402402
- Allow passing `kwargs` to the interpolation methods (:issue:`10378`).
403403
- Serialize metadata properties of subclasses of pandas objects (:issue:`10553`).
404-
- ``Categorical.name`` was removed to make `Categorical` more ``numpy.ndarray`` like. Use ``Series(cat, name="whatever")`` instead (:issue:`10482`).
405404
- ``Categorical.unique`` now returns new ``Categorical`` which ``categories`` and ``codes`` are unique, rather than returning ``np.array`` (:issue:`10508`)
406405

407406
- unordered category: values and categories are sorted by appearance order.
@@ -454,6 +453,8 @@ Deprecations
454453
``.icol(j)`` ``.iloc[:, j]``
455454
===================== ==============================================================
456455

456+
- ``Categorical.name`` was deprecated to make ``Categorical`` more ``numpy.ndarray`` like. Use ``Series(cat, name="whatever")`` instead (:issue:`10482`).
457+
457458
.. _whatsnew_0170.prior_deprecations:
458459

459460
Removal of prior version deprecations/changes

0 commit comments

Comments
 (0)