|
1 | 1 | .. _whatsnew_130:
|
2 | 2 |
|
3 |
| -What's new in 1.3.0 (June ??) |
4 |
| ------------------------------ |
| 3 | +What's new in 1.3.0 (July 2, 2021) |
| 4 | +---------------------------------- |
5 | 5 |
|
6 | 6 | These are the changes in pandas 1.3.0. See :ref:`release` for a full changelog
|
7 | 7 | including other versions of pandas.
|
@@ -136,7 +136,7 @@ which has been revised and improved (:issue:`39720`, :issue:`39317`, :issue:`404
|
136 | 136 | - Many features of the :class:`.Styler` class are now either partially or fully usable on a DataFrame with a non-unique indexes or columns (:issue:`41143`)
|
137 | 137 | - One has greater control of the display through separate sparsification of the index or columns using the :ref:`new styler options <options.available>`, which are also usable via :func:`option_context` (:issue:`41142`)
|
138 | 138 | - Added the option ``styler.render.max_elements`` to avoid browser overload when styling large DataFrames (:issue:`40712`)
|
139 |
| - - Added the method :meth:`.Styler.to_latex` (:issue:`21673`), which also allows some limited CSS conversion (:issue:`40731`) |
| 139 | + - Added the method :meth:`.Styler.to_latex` (:issue:`21673`, :issue:`42320`), which also allows some limited CSS conversion (:issue:`40731`) |
140 | 140 | - Added the method :meth:`.Styler.to_html` (:issue:`13379`)
|
141 | 141 | - Added the method :meth:`.Styler.set_sticky` to make index and column headers permanently visible in scrolling HTML frames (:issue:`29072`)
|
142 | 142 |
|
@@ -707,6 +707,7 @@ Other API changes
|
707 | 707 | - Added new ``engine`` and ``**engine_kwargs`` parameters to :meth:`DataFrame.to_sql` to support other future "SQL engines". Currently we still only use ``SQLAlchemy`` under the hood, but more engines are planned to be supported such as `turbodbc <https://turbodbc.readthedocs.io/en/latest/>`_ (:issue:`36893`)
|
708 | 708 | - Removed redundant ``freq`` from :class:`PeriodIndex` string representation (:issue:`41653`)
|
709 | 709 | - :meth:`ExtensionDtype.construct_array_type` is now a required method instead of an optional one for :class:`ExtensionDtype` subclasses (:issue:`24860`)
|
| 710 | +- Calling ``hash`` on non-hashable pandas objects will now raise ``TypeError`` with the built-in error message (e.g. ``unhashable type: 'Series'``). Previously it would raise a custom message such as ``'Series' objects are mutable, thus they cannot be hashed``. Furthermore, ``isinstance(<Series>, abc.collections.Hashable)`` will now return ``False`` (:issue:`40013`) |
710 | 711 | - :meth:`.Styler.from_custom_template` now has two new arguments for template names, and removed the old ``name``, due to template inheritance having been introducing for better parsing (:issue:`42053`). Subclassing modifications to Styler attributes are also needed.
|
711 | 712 |
|
712 | 713 | .. _whatsnew_130.api_breaking.build:
|
@@ -1232,4 +1233,4 @@ Other
|
1232 | 1233 | Contributors
|
1233 | 1234 | ~~~~~~~~~~~~
|
1234 | 1235 |
|
1235 |
| -.. contributors:: v1.2.5..v1.3.0|HEAD |
| 1236 | +.. contributors:: v1.2.5..v1.3.0 |
0 commit comments