@@ -4425,34 +4425,6 @@ Performance
4425
4425
`Here <http://stackoverflow.com/questions/14355151/how-to-make-pandas-hdfstore-put-operation-faster/14370190#14370190 >`__
4426
4426
for more information and some solutions.
4427
4427
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' )
4456
4428
4457
4429
.. ipython :: python
4458
4430
:suppress:
0 commit comments