Skip to content

Commit 6f88416

Browse files
DOC: suppress warnings for Panel4D deprecation (#13989)
1 parent 29d9e24 commit 6f88416

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

doc/source/dsintro.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ The following creates a Panel5D. A new panel type object must be sliceable into
10421042
Here we slice to a Panel4D.
10431043

10441044
.. ipython:: python
1045+
:okwarning:
10451046
10461047
from pandas.core import panelnd
10471048
Panel5D = panelnd.create_nd_panel_factory(

doc/source/io.rst

+3
Original file line numberDiff line numberDiff line change
@@ -4012,6 +4012,7 @@ number of options, please see the docstring.
40124012
legacy_file_path = os.path.abspath('source/_static/legacy_0.10.h5')
40134013
40144014
.. ipython:: python
4015+
:okwarning:
40154016
40164017
# a legacy store
40174018
legacy_store = HDFStore(legacy_file_path,'r')
@@ -4059,6 +4060,7 @@ Experimental
40594060
HDFStore supports ``Panel4D`` storage.
40604061

40614062
.. ipython:: python
4063+
:okwarning:
40624064
40634065
p4d = Panel4D({ 'l1' : wp })
40644066
p4d
@@ -4073,6 +4075,7 @@ store your data. Pass the ``axes`` keyword with a list of dimensions
40734075
object). This cannot be changed after table creation.
40744076

40754077
.. ipython:: python
4078+
:okwarning:
40764079
40774080
store.append('p4d2', p4d, axes=['labels', 'major_axis', 'minor_axis'])
40784081
store

doc/source/whatsnew/v0.10.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ Adding experimental support for Panel4D and factory functions to create n-dimens
383383
:ref:`Docs <dsintro.panel4d>` for NDim. Here is a taste of what to expect.
384384

385385
.. ipython:: python
386+
:okwarning:
386387

387388
p4d = Panel4D(randn(2, 2, 5, 4),
388389
labels=['Label1','Label2'],

0 commit comments

Comments
 (0)