diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 84db16e338d87..3a4781f1d022d 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -1,23 +1,56 @@ .. _whatsnew_0171: -v0.17.1 (November ??, 2015) +v0.17.1 (November 21, 2015) --------------------------- -This is a minor bug-fix release from 0.17.0 and includes a a large number of +This is a minor bug-fix release from 0.17.0 and includes a large number of bug fixes along several new features, enhancements, and performance improvements. We recommend that all users upgrade to this version. Highlights include: +- Support for Conditional HTML Formatting, see :ref:`here ` +- Releasing the GIL on the csv reader & other ops, see :ref:`here ` +- Regression in ``DataFrame.drop_duplicates`` from 0.16.2, causing incorrect results on integer values (:issue:`11376`) + .. contents:: What's new in v0.17.1 :local: :backlinks: none +New features +~~~~~~~~~~~~ + +.. _whatsnew_0171.style: + +Conditional HTML Formatting +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +We've added *experimental* support for conditional HTML formatting: +the visual styling of a DataFrame based on the data. +The styling is accomplished with HTML and CSS. +Acesses the styler class with :attr:`pandas.DataFrame.style`, attribute, +an instance of :class:`~pandas.core.style.Styler` with your data attached. + +Here's a quick example: + + .. ipython:: python + + np.random.seed(123) + df = DataFrame(np.random.randn(10, 5), columns=list('abcde')) + html = df.style.background_gradient(cmap='viridis', low=.5) + +We can render the HTML to get the following table. + +.. raw:: html + :file: whatsnew_0171_html_table.html + +See the :ref:`example notebook