Skip to content

Commit 6d447c3

Browse files
committed
DOC: add ref to get_dummies entry in whatsnew
1 parent 51cd9d0 commit 6d447c3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/source/whatsnew/v0.22.0.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ Other Enhancements
2828
- :class:`pandas.io.formats.style.Styler` now has method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
2929
- :class:`pandas.io.formats.style.Styler` now has method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
3030
- Improved wording of ``ValueError`` raised in :func:`to_datetime` when ``unit=`` is passed with a non-convertible value (:issue:`14350`)
31+
- :func:`get_dummies` now supports ``dtype`` argument, see :ref:`here <whatsnew_0220.enhancements.get_dummies_dtype>` for more (:issue: `18330`)
3132

32-
``get_dummies`` now supports ``dtype`` argument (:issue:`18330`)
33-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
.. _whatsnew_0220.enhancements.get_dummies_dtype
34+
35+
``get_dummies`` now supports ``dtype`` argument
36+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3437

3538
The :func:`get_dummies` now accepts a ``dtype`` argument, which specifies a specific dtype for the new columns. When ``dtype`` is not specified or ``None``, the dtype will be ``uint8`` as before. (:issue:`18330`)
3639

0 commit comments

Comments
 (0)