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/user_guide/style.ipynb
+4-1
Original file line number
Diff line number
Diff line change
@@ -1577,6 +1577,9 @@
1577
1577
"Some support (*since version 0.20.0*) is available for exporting styled `DataFrames` to Excel worksheets using the `OpenPyXL` or `XlsxWriter` engines. CSS2.2 properties handled include:\n",
1578
1578
"\n",
1579
1579
"- `background-color`\n",
1580
+
"- `border-style` properties\n",
1581
+
"- `border-width` properties\n",
1582
+
"- `border-color` properties\n",
1580
1583
"- `color`\n",
1581
1584
"- `font-family`\n",
1582
1585
"- `font-style`\n",
@@ -1587,7 +1590,7 @@
1587
1590
"- `white-space: nowrap`\n",
1588
1591
"\n",
1589
1592
"\n",
1590
-
"- Currently broken: `border-style`, `border-width`, `border-color` and their {`top`, `right`, `bottom`, `left` variants}\n",
1593
+
"- Shorthand and side-specific border properties are supported (e.g. `border-style` and `border-left-style`) as well as the `border` shorthands for all sides (`border: 1px solid green`) or specified sides (`border-left: 1px solid green`). Using a `border` shorthand will override any border properties set before it (See [CSS Working Group](https://drafts.csswg.org/css-backgrounds/#border-shorthands) for more details)\n",
1591
1594
"\n",
1592
1595
"\n",
1593
1596
"- Only CSS2 named colors and hex colors of the form `#rgb` or `#rrggbb` are currently supported.\n",
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.4.1.rst
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
.. _whatsnew_141:
2
2
3
-
What's new in 1.4.1 (February ??, 2022)
3
+
What's new in 1.4.1 (February 12, 2022)
4
4
---------------------------------------
5
5
6
6
These are the changes in pandas 1.4.1. See :ref:`release` for a full changelog
@@ -16,15 +16,15 @@ Fixed regressions
16
16
~~~~~~~~~~~~~~~~~
17
17
- Regression in :meth:`Series.mask` with ``inplace=True`` and ``PeriodDtype`` and an incompatible ``other`` coercing to a common dtype instead of raising (:issue:`45546`)
18
18
- Regression in :func:`.assert_frame_equal` not respecting ``check_flags=False`` (:issue:`45554`)
19
-
- Regression in :meth:`DataFrame.loc.__getitem__` raising ``ValueError`` when indexing on a :class:`MultiIndex` with one level (:issue:`45779`)
19
+
- Regression in :meth:`DataFrame.loc` raising ``ValueError`` when indexing (getting values) on a :class:`MultiIndex` with one level (:issue:`45779`)
20
20
- Regression in :meth:`Series.fillna` with ``downcast=False`` incorrectly downcasting ``object`` dtype (:issue:`45603`)
21
21
- Regression in :func:`api.types.is_bool_dtype` raising an ``AttributeError`` when evaluating a categorical :class:`Series` (:issue:`45615`)
22
22
- Regression in :meth:`DataFrame.iat` setting values leading to not propagating correctly in subsequent lookups (:issue:`45684`)
23
23
- Regression when setting values with :meth:`DataFrame.loc` losing :class:`Index` name if :class:`DataFrame` was empty before (:issue:`45621`)
24
24
- Regression in :meth:`~Index.join` with overlapping :class:`IntervalIndex` raising an ``InvalidIndexError`` (:issue:`45661`)
25
-
- Regression in :meth:`Series.loc.__setitem__` raising with all ``False`` indexer and :class:`Series` on the right hand side (:issue:`45778`)
25
+
- Regression when setting values with :meth:`Series.loc` raising with all ``False`` indexer and :class:`Series` on the right hand side (:issue:`45778`)
26
26
- Regression in :func:`read_sql` with a DBAPI2 connection that is not an instance of ``sqlite3.Connection`` incorrectly requiring SQLAlchemy be installed (:issue:`45660`)
27
-
-
27
+
- Regression in :class:`DateOffset` when constructing with an integer argument with no keywords (e.g. ``pd.DateOffset(n)``) would behave like ``datetime.timedelta(days=0)`` (:issue:`45643`, :issue:`45890`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.5.0.rst
+7-3
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Styler
20
20
^^^^^^
21
21
22
22
- New method :meth:`.Styler.to_string` for alternative customisable output methods (:issue:`44502`)
23
-
- Various bug fixes, see below.
23
+
- Added the ability to render ``border`` and ``border-{side}`` CSS properties in Excel (:issue:`42276`)
24
24
25
25
.. _whatsnew_150.enhancements.enhancement2:
26
26
@@ -38,6 +38,8 @@ Other enhancements
38
38
- :meth:`Series.reset_index` and :meth:`DataFrame.reset_index` now support the argument ``allow_duplicates`` (:issue:`44410`)
39
39
- :meth:`.GroupBy.min` and :meth:`.GroupBy.max` now supports `Numba <https://numba.pydata.org/>`_ execution with the ``engine`` keyword (:issue:`45428`)
40
40
- Implemented a ``bool``-dtype :class:`Index`, passing a bool-dtype arraylike to ``pd.Index`` will now retain ``bool`` dtype instead of casting to ``object`` (:issue:`45061`)
41
+
- Implemented a complex-dtype :class:`Index`, passing a complex-dtype arraylike to ``pd.Index`` will now retain complex dtype instead of casting to ``object`` (:issue:`45845`)
- Fixed bug in :class:`CSSToExcelConverter` leading to ``TypeError`` when border color provided without border style for ``xlsxwriter`` engine (:issue:`42276`)
0 commit comments