Skip to content

Commit d5fcb40

Browse files
authored
Styler whatsew (#46897)
1 parent 9f24918 commit d5fcb40

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

doc/source/whatsnew/v1.5.0.rst

+13-19
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,17 @@ The protocol consists of two parts:
3737
Styler
3838
^^^^^^
3939

40-
- New method :meth:`.Styler.to_string` for alternative customisable output methods (:issue:`44502`)
41-
- Added the ability to render ``border`` and ``border-{side}`` CSS properties in Excel (:issue:`42276`)
42-
- Added a new method :meth:`.Styler.concat` which allows adding customised footer rows to visualise additional calculations on the data, e.g. totals and counts etc. (:issue:`43875`, :issue:`46186`)
43-
- :meth:`.Styler.highlight_null` now accepts ``color`` consistently with other builtin methods and deprecates ``null_color`` although this remains backwards compatible (:issue:`45907`)
40+
The most notable development is the new method :meth:`.Styler.concat` which
41+
allows adding customised footer rows to visualise additional calculations on the data,
42+
e.g. totals and counts etc. (:issue:`43875`, :issue:`46186`)
43+
44+
Additionally there is an alternative output method :meth:`.Styler.to_string`,
45+
which allows using the Styler's formatting methods to create, for example, CSVs (:issue:`44502`).
46+
47+
Minor feature improvements are:
48+
49+
- Adding the ability to render ``border`` and ``border-{side}`` CSS properties in Excel (:issue:`42276`)
50+
- Making keyword arguments consist: :meth:`.Styler.highlight_null` now accepts ``color`` and deprecates ``null_color`` although this remains backwards compatible (:issue:`45907`)
4451

4552
.. _whatsnew_150.enhancements.resample_group_keys:
4653

@@ -127,13 +134,6 @@ Notable bug fixes
127134

128135
These are bug fixes that might have notable behavior changes.
129136

130-
.. _whatsnew_150.notable_bug_fixes.notable_bug_fix1:
131-
132-
Styler
133-
^^^^^^
134-
135-
- Fixed bug in :class:`CSSToExcelConverter` leading to ``TypeError`` when border color provided without border style for ``xlsxwriter`` engine (:issue:`42276`)
136-
137137
.. _whatsnew_150.notable_bug_fixes.groupby_transform_dropna:
138138

139139
Using ``dropna=True`` with ``groupby`` transforms
@@ -194,13 +194,6 @@ did not have the same index as the input.
194194
df.groupby('a', dropna=True).transform('ffill')
195195
df.groupby('a', dropna=True).transform(lambda x: x)
196196
197-
.. _whatsnew_150.notable_bug_fixes.visualization:
198-
199-
Styler
200-
^^^^^^
201-
202-
- Fix showing "None" as ylabel in :meth:`Series.plot` when not setting ylabel (:issue:`46129`)
203-
204197
.. _whatsnew_150.notable_bug_fixes.notable_bug_fix2:
205198

206199
notable_bug_fix2
@@ -615,6 +608,7 @@ Plotting
615608
- Bug in :meth:`DataFrame.boxplot` that prevented specifying ``vert=False`` (:issue:`36918`)
616609
- Bug in :meth:`DataFrame.plot.scatter` that prevented specifying ``norm`` (:issue:`45809`)
617610
- The function :meth:`DataFrame.plot.scatter` now accepts ``color`` as an alias for ``c`` and ``size`` as an alias for ``s`` for consistency to other plotting functions (:issue:`44670`)
611+
- Fix showing "None" as ylabel in :meth:`Series.plot` when not setting ylabel (:issue:`46129`)
618612

619613
Groupby/resample/rolling
620614
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -659,7 +653,7 @@ ExtensionArray
659653
Styler
660654
^^^^^^
661655
- Bug when attempting to apply styling functions to an empty DataFrame subset (:issue:`45313`)
662-
-
656+
- Bug in :class:`CSSToExcelConverter` leading to ``TypeError`` when border color provided without border style for ``xlsxwriter`` engine (:issue:`42276`)
663657

664658
Metadata
665659
^^^^^^^^

0 commit comments

Comments
 (0)