Skip to content

Commit 3b70713

Browse files
committed
updated whatsnew
1 parent 6d5b467 commit 3b70713

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/source/whatsnew/v0.20.2.txt

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ I/O
5252
^^^
5353

5454
- Bug that would force importing of the clipboard routines unnecessarily, potentially causing an import error on startup (:issue:`16288`)
55+
- :class:`pandas.io.formats.style.Styler` now has ``index`` parameter and corresponding method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
56+
- :class:`pandas.io.formats.style.Styler` now has ``hidden_cols`` parameter and corresponding method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
5557

5658

5759
Plotting

pandas/io/formats/style.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ class Styler(object):
7373
index: bool, default True
7474
determines if the index is rendered in the html output
7575
76-
.. versionadded:: 0.20.1
76+
.. versionadded:: 0.20.2
7777
7878
hidden_cols: IndexSlice, default None
7979
hides a subset of columns from rendering
8080
81-
.. versionadded:: 0.20.1
81+
.. versionadded:: 0.20.2
8282
8383
Attributes
8484
----------
@@ -788,7 +788,7 @@ def hide_index(self):
788788
"""
789789
Hide any indices from rendering.
790790
791-
.. versionadded:: 0.20.1
791+
.. versionadded:: 0.20.2
792792
793793
Returns
794794
-------
@@ -801,7 +801,7 @@ def hide_columns(self, subset):
801801
"""
802802
Hide columns from rendering.
803803
804-
.. versionadded:: 0.20.1
804+
.. versionadded:: 0.20.2
805805
806806
Parameters
807807
----------

0 commit comments

Comments
 (0)