Skip to content

Commit 41dd4be

Browse files
committed
updated whatsnew
1 parent 20cf987 commit 41dd4be

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/source/whatsnew/v0.20.2.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ Indexing
4848
I/O
4949
^^^
5050

51-
51+
- :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`)
52+
- :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`)
5253

5354

5455
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)