Skip to content

Commit 6758bb0

Browse files
attack68JulianWgs
authored andcommitted
DOC: whats new other section reduced (pandas-dev#40900)
1 parent 10db185 commit 6758bb0

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

doc/source/whatsnew/v1.3.0.rst

+16-8
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ We provided some focused development on :class:`.Styler`, including altering met
117117
to accept more universal CSS language for arguments, such as ``'color:red;'`` instead of
118118
``[('color', 'red')]`` (:issue:`39564`). This is also added to the built-in methods
119119
to allow custom CSS highlighting instead of default background coloring (:issue:`40242`).
120+
Enhancements to other built-in methods include extending the :meth:`.Styler.background_gradient`
121+
method to shade elements based on a given gradient map and not be restricted only to
122+
values in the DataFrame (:issue:`39930` :issue:`22727` :issue:`28901`).
120123

121124
The :meth:`.Styler.apply` now consistently allows functions with ``ndarray`` output to
122125
allow more flexible development of UDFs when ``axis`` is ``None`` ``0`` or ``1`` (:issue:`39393`).
@@ -819,24 +822,29 @@ ExtensionArray
819822
- Fixed a bug where some properties of subclasses of :class:`PandasExtensionDtype` where improperly cached (:issue:`40329`)
820823
-
821824

825+
Styler
826+
^^^^^^
827+
828+
- Bug in :class:`Styler` where ``subset`` arg in methods raised an error for some valid multiindex slices (:issue:`33562`)
829+
- :class:`Styler` rendered HTML output minor alterations to support w3 good code standard (:issue:`39626`)
830+
- Bug in :class:`Styler` where rendered HTML was missing a column class identifier for certain header cells (:issue:`39716`)
831+
- Bug in :meth:`Styler.background_gradient` where text-color was not determined correctly (:issue:`39888`)
832+
- Bug in :class:`Styler` where multiple elements in CSS-selectors were not correctly added to ``table_styles`` (:issue:`39942`)
833+
- Bug in :class:`.Styler` where copying from Jupyter dropped top left cell and misaligned headers (:issue:`12147`)
834+
- Bug in :class:`.Styler.where` where ``kwargs`` were not passed to the applicable callable (:issue:`40845`)
835+
- Bug in :class:`Styler` which caused CSS to duplicate on multiple renders. (:issue:`39395`, :issue:`40334`)
836+
837+
822838
Other
823839
^^^^^
824840
- Bug in :class:`Index` constructor sometimes silently ignoring a specified ``dtype`` (:issue:`38879`)
825841
- Bug in :func:`pandas.api.types.infer_dtype` not recognizing Series, Index or array with a period dtype (:issue:`23553`)
826842
- Bug in :func:`pandas.api.types.infer_dtype` raising an error for general :class:`.ExtensionArray` objects. It will now return ``"unknown-array"`` instead of raising (:issue:`37367`)
827843
- Bug in constructing a :class:`Series` from a list and a :class:`PandasDtype` (:issue:`39357`)
828-
- Bug in :class:`Styler` which caused CSS to duplicate on multiple renders. (:issue:`39395`, :issue:`40334`)
829844
- ``inspect.getmembers(Series)`` no longer raises an ``AbstractMethodError`` (:issue:`38782`)
830845
- Bug in :meth:`Series.where` with numeric dtype and ``other = None`` not casting to ``nan`` (:issue:`39761`)
831846
- :meth:`Index.where` behavior now mirrors :meth:`Index.putmask` behavior, i.e. ``index.where(mask, other)`` matches ``index.putmask(~mask, other)`` (:issue:`39412`)
832847
- Bug in :func:`pandas.testing.assert_series_equal`, :func:`pandas.testing.assert_frame_equal`, :func:`pandas.testing.assert_index_equal` and :func:`pandas.testing.assert_extension_array_equal` incorrectly raising when an attribute has an unrecognized NA type (:issue:`39461`)
833-
- Bug in :class:`Styler` where ``subset`` arg in methods raised an error for some valid multiindex slices (:issue:`33562`)
834-
- :class:`Styler` rendered HTML output minor alterations to support w3 good code standard (:issue:`39626`)
835-
- Bug in :class:`Styler` where rendered HTML was missing a column class identifier for certain header cells (:issue:`39716`)
836-
- Bug in :meth:`Styler.background_gradient` where text-color was not determined correctly (:issue:`39888`)
837-
- Bug in :class:`Styler` where multiple elements in CSS-selectors were not correctly added to ``table_styles`` (:issue:`39942`)
838-
- Bug in :class:`.Styler` where copying from Jupyter dropped top left cell and misaligned headers (:issue:`12147`)
839-
- Bug in :class:`.Styler.where` where ``kwargs`` were not passed to the applicable callable (:issue:`40845`)
840848
- Bug in :meth:`DataFrame.equals`, :meth:`Series.equals`, :meth:`Index.equals` with object-dtype containing ``np.datetime64("NaT")`` or ``np.timedelta64("NaT")`` (:issue:`39650`)
841849
- Bug in :func:`pandas.util.show_versions` where console JSON output was not proper JSON (:issue:`39701`)
842850
- Bug in :meth:`DataFrame.convert_dtypes` incorrectly raised ValueError when called on an empty DataFrame (:issue:`40393`)

0 commit comments

Comments
 (0)