Skip to content

Commit afbf368

Browse files
committed
DOC: add ref to get_dummies entry in whatsnew
1 parent 5320af9 commit afbf368

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
@@ -26,9 +26,12 @@ Other Enhancements
2626
- :func:`pandas.tseries.frequencies.to_offset` now accepts leading '+' signs e.g. '+1h'. (:issue:`18171`)
2727
- :class:`pandas.io.formats.style.Styler` now has method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
2828
- :class:`pandas.io.formats.style.Styler` now has method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
29+
- :func:`get_dummies` now supports ``dtype`` argument, see :ref:`here <whatsnew_0220.enhancements.get_dummies_dtype>` for more (:issue: `18330`)
2930

30-
``get_dummies`` now supports ``dtype`` argument (:issue:`18330`)
31-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31+
.. _whatsnew_0220.enhancements.get_dummies_dtype
32+
33+
``get_dummies`` now supports ``dtype`` argument
34+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3235

3336
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`)
3437

0 commit comments

Comments
 (0)