8000 DOC: remove section on Panel4D support in HDF io (#16783) · pandas-dev/pandas@856be0f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 856be0f

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
DOC: remove section on Panel4D support in HDF io (#16783)
(cherry picked from commit 18c4f88)
1 parent 0cfeca4 commit 856be0f

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed
8000

doc/source/io.rst

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4425,34 +4425,6 @@ Performance
44254425
`Here <http://stackoverflow.com/questions/14355151/how-to-make-pandas-hdfstore-put-operation-faster/14370190#14370190>`__
44264426
for more information and some solutions.
44274427

4428-
Experimental
4429-
''''''''''''
4430-
4431-
HDFStore supports ``Panel4D`` storage.
4432-
4433-
.. ipython:: python
4434-
:okwarning:
4435-
4436-
wp = pd.Panel(randn(2, 5, 4), items=['Item1', 'Item2'],
4437-
major_axis=pd.date_range('1/1/2000', periods=5),
4438-
minor_axis=['A', 'B', 'C', 'D'])
4439-
p4d = pd.Panel4D({ 'l1' : wp })
4440-
p4d
4441-
store.append('p4d', p4d)
4442-
store
4443-
4444-
These, by default, index the three axes ``items, major_axis,
4445-
minor_axis``. On an ``AppendableTable`` it is possible to setup with the
4446-
first append a different indexing scheme, depending on how you want to
4447-
store your data. Pass the ``axes`` keyword with a list of dimensions
4448-
(currently must by exactly 1 less than the total dimensions of the
4449-
object). This cannot be changed after table creation.
4450-
4451-
.. ipython:: python
4452-
:okwarning:
4453-
4454-
store.append('p4d2', p4d, axes=['labels', 'major_axis', 'minor_axis'])
4455-
store.select('p4d2', where='labels=l1 and items=Item1 and minor_axis=A')
44564428

44574429
.. ipython:: python
44584430
:suppress:

0 commit comments

Comments
 (0)
0