You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.3.0.rst
+26
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,31 @@ both XPath 1.0 and XSLT 1.0 is available. (:issue:`27554`)
110
110
111
111
For more, see :ref:`io.xml` in the user guide on IO tools.
112
112
113
+
Styler Upgrades
114
+
^^^^^^^^^^^^^^^
115
+
116
+
We provided some focused development on :class:`.Styler`, including altering methods
117
+
to accept more universal CSS language for arguments, such as ``'color:red;'`` instead of
118
+
``[('color', 'red')]`` (:issue:`39564`). This is also added to the built-in methods
119
+
to allow custom CSS highlighting instead of default background coloring (:issue:`40242`).
120
+
121
+
The :meth:`.Styler.apply` now consistently allows functions with ``ndarray`` output to
122
+
allow more flexible development of UDFs when ``axis`` is ``None`` ``0`` or ``1`` (:issue:`39393`).
123
+
124
+
:meth:`.Styler.set_tooltips` is a new method that allows adding on hover tooltips to
125
+
enhance interactive displays (:issue:`35643`). :meth:`.Styler.set_td_classes`, which was recently
126
+
introduced in v1.2.0 (:issue:`36159`) to allow adding specific CSS classes to data cells, has
127
+
been made as performant as :meth:`.Styler.apply` and :meth:`.Styler.applymap` (:issue:`40453`),
128
+
if not more performant in some cases. The overall performance of HTML
129
+
render times has been considerably improved to
130
+
match :meth:`DataFrame.to_html` (:issue:`39952` :issue:`37792` :issue:`40425`).
131
+
132
+
The :meth:`.Styler.format` has had upgrades to easily format missing data,
133
+
precision, and perform HTML escaping (:issue:`40437` :issue:`40134`). There have been numerous other bug fixes to
134
+
properly format HTML and eliminate some inconsistencies (:issue:`39942` :issue:`40356` :issue:`39807` :issue:`39889` :issue:`39627`)
135
+
136
+
Documentation has also seen major revisions in light of new features (:issue:`39720` :issue:`39317` :issue:`40493`)
137
+
113
138
.. _whatsnew_130.dataframe_honors_copy_with_dict:
114
139
115
140
DataFrame constructor honors ``copy=False`` with dict
@@ -572,6 +597,7 @@ Conversion
572
597
- Bug in creating a :class:`DataFrame` from an empty ``np.recarray`` not retaining the original dtypes (:issue:`40121`)
573
598
- Bug in :class:`DataFrame` failing to raise ``TypeError`` when constructing from a ``frozenset`` (:issue:`40163`)
574
599
- Bug in :class:`Index` construction silently ignoring a passed ``dtype`` when the data cannot be cast to that dtype (:issue:`21311`)
600
+
- Bug in :meth:`StringArray.astype` falling back to numpy and raising when converting to ``dtype='categorical'`` (:issue:`40450`)
575
601
- Bug in :class:`DataFrame` construction with a dictionary containing an arraylike with ``ExtensionDtype`` and ``copy=True`` failing to make a copy (:issue:`38939`)
0 commit comments