Skip to content

DOC: suppress warnings for Panel4D deprecation #13989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/dsintro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ The following creates a Panel5D. A new panel type object must be sliceable into
Here we slice to a Panel4D.

.. ipython:: python
:okwarning:

from pandas.core import panelnd
Panel5D = panelnd.create_nd_panel_factory(
Expand Down
3 changes: 3 additions & 0 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4012,6 +4012,7 @@ number of options, please see the docstring.
legacy_file_path = os.path.abspath('source/_static/legacy_0.10.h5')

.. ipython:: python
:okwarning:

# a legacy store
legacy_store = HDFStore(legacy_file_path,'r')
Expand Down Expand Up @@ -4059,6 +4060,7 @@ Experimental
HDFStore supports ``Panel4D`` storage.

.. ipython:: python
:okwarning:

p4d = Panel4D({ 'l1' : wp })
p4d
Expand All @@ -4073,6 +4075,7 @@ store your data. Pass the ``axes`` keyword with a list of dimensions
object). This cannot be changed after table creation.

.. ipython:: python
:okwarning:

store.append('p4d2', p4d, axes=['labels', 'major_axis', 'minor_axis'])
store
Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.10.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ Adding experimental support for Panel4D and factory functions to create n-dimens
:ref:`Docs <dsintro.panel4d>` for NDim. Here is a taste of what to expect.

.. ipython:: python
:okwarning:

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