Skip to content

Commit 95c7af9

Browse files
Merge pull request #6086 from jorisvandenbossche/doc-warnings
DOC: suppress warnings with okwarning in whatsnew
2 parents f357588 + e02acb7 commit 95c7af9

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

doc/source/v0.10.1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ perform queries on a table, by passing a list to ``data_columns``
6666
Retrieving unique values in an indexable or data column.
6767

6868
.. ipython:: python
69+
:okwarning:
6970

7071
import warnings
7172
with warnings.catch_warnings():

doc/source/v0.12.0.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ I/O Enhancements
186186
You can use ``pd.read_html()`` to read the output from ``DataFrame.to_html()`` like so
187187

188188
.. ipython :: python
189+
:okwarning:
189190

190191
df = DataFrame({'a': range(3), 'b': list('abc')})
191192
print(df)
@@ -252,6 +253,7 @@ I/O Enhancements
252253
store when iteration is finished. This is only for *tables*
253254

254255
.. ipython:: python
256+
:okwarning:
255257

256258
path = 'store_iterator.h5'
257259
DataFrame(randn(10,2)).to_hdf(path,'df',table=True)

doc/source/v0.13.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ API changes
149149
The following warning / exception will show if this is attempted.
150150

151151
.. ipython:: python
152+
:okwarning:
152153

153154
dfc.loc[0]['A'] = 1111
154155

0 commit comments

Comments
 (0)