@@ -17,21 +17,8 @@ New features
17
17
-
18
18
-
19
19
20
- .. _whatsnew_0220.enhancements.other:
21
20
22
- Other Enhancements
23
- ^^^^^^^^^^^^^^^^^^
24
-
25
- - Better support for :func:`Dataframe.style.to_excel` output with the ``xlsxwriter`` engine. (:issue:`16149`)
26
- - :func:`pandas.tseries.frequencies.to_offset` now accepts leading '+' signs e.g. '+1h'. (:issue:`18171`)
27
- - :func:`MultiIndex.unique` now supports the ``level=`` argument, to get unique values from a specific index level (:issue:`17896`)
28
- - :class:`pandas.io.formats.style.Styler` now has method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
29
- - :class:`pandas.io.formats.style.Styler` now has method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
30
- - Improved wording of ``ValueError`` raised in :func:`to_datetime` when ``unit=`` is passed with a non-convertible value (:issue:`14350`)
31
- - :func:`Series.fillna` now accepts a Series or a dict as a ``value`` for a categorical dtype (:issue:`17033`)
32
- - :func:`get_dummies` now supports ``dtype`` argument, see :ref:`here <whatsnew_0220.enhancements.get_dummies_dtype>` for more (:issue:`18330`)
33
-
34
- .. _whatsnew_0220.enhancements.get_dummies_dtype
21
+ .. _whatsnew_0210.enhancements.get_dummies_dtype:
35
22
36
23
``get_dummies`` now supports ``dtype`` argument
37
24
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -44,6 +31,20 @@ The :func:`get_dummies` now accepts a ``dtype`` argument, which specifies a spec
44
31
pd.get_dummies(df, columns=['c']).dtypes
45
32
pd.get_dummies(df, columns=['c'], dtype=bool).dtypes
46
33
34
+
35
+ .. _whatsnew_0220.enhancements.other:
36
+
37
+ Other Enhancements
38
+ ^^^^^^^^^^^^^^^^^^
39
+
40
+ - Better support for :func:`Dataframe.style.to_excel` output with the ``xlsxwriter`` engine. (:issue:`16149`)
41
+ - :func:`pandas.tseries.frequencies.to_offset` now accepts leading '+' signs e.g. '+1h'. (:issue:`18171`)
42
+ - :func:`MultiIndex.unique` now supports the ``level=`` argument, to get unique values from a specific index level (:issue:`17896`)
43
+ - :class:`pandas.io.formats.style.Styler` now has method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
44
+ - :class:`pandas.io.formats.style.Styler` now has method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
45
+ - Improved wording of ``ValueError`` raised in :func:`to_datetime` when ``unit=`` is passed with a non-convertible value (:issue:`14350`)
46
+ - :func:`Series.fillna` now accepts a Series or a dict as a ``value`` for a categorical dtype (:issue:`17033`)
47
+
47
48
.. _whatsnew_0220.api_breaking:
48
49
49
50
Backwards incompatible API changes
0 commit comments