@@ -4474,34 +4474,6 @@ Performance
4474
4474
`Here <http://stackoverflow.com/questions/14355151/how-to-make-pandas-hdfstore-put-operation-faster/14370190#14370190 >`__
4475
4475
for more information and some solutions.
4476
4476
4477
- Experimental
4478
- ''''''''''''
4479
-
4480
- HDFStore supports ``Panel4D `` storage.
4481
-
4482
- .. ipython :: python
4483
- :okwarning:
4484
-
4485
- wp = pd.Panel(randn(2 , 5 , 4 ), items = [' Item1' , ' Item2' ],
4486
- major_axis = pd.date_range(' 1/1/2000' , periods = 5 ),
4487
- minor_axis = [' A' , ' B' , ' C' , ' D' ])
4488
- p4d = pd.Panel4D({ ' l1' : wp })
4489
- p4d
4490
- store.append(' p4d' , p4d)
4491
- store
4492
-
4493
- These, by default, index the three axes ``items, major_axis,
4494
- minor_axis ``. On an ``AppendableTable `` it is possible to setup with the
4495
- first append a different indexing scheme, depending on how you want to
4496
- store your data. Pass the ``axes `` keyword with a list of dimensions
4497
- (currently must by exactly 1 less than the total dimensions of the
4498
- object). This cannot be changed after table creation.
4499
-
4500
- .. ipython :: python
4501
- :okwarning:
4502
-
4503
- store.append(' p4d2' , p4d, axes = [' labels' , ' major_axis' , ' minor_axis' ])
4504
- store.select(' p4d2' , where = ' labels=l1 and items=Item1 and minor_axis=A' )
4505
4477
4506
4478
.. ipython :: python
4507
4479
:suppress:
0 commit comments