Skip to content

Commit ba4ce77

Browse files
committed
updated whatsnew with list of bugs/enhancements for pytablesv4
1 parent bd726d3 commit ba4ce77

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

doc/source/v0.10.0.txt

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ enhancements along with a large number of bug fixes.
99
New features
1010
~~~~~~~~~~~~
1111

12-
- Docs for PyTables ``Table`` format & several enhancements to the api. Here is a taste of what to expect. The
12+
Updated PyTables Support
13+
~~~~~~~~~~~~~~~~~~~~~~~~
1314

14-
`full docs for tables
15-
<https://github.com/pydata/pandas/blob/master/io.html#hdf5-pytables>`__
15+
Docs for PyTables ``Table`` format & several enhancements to the api. Here is a taste of what to expect.
16+
17+
`the full docs for tables
18+
<https://github.com/pydata/pandas/blob/master/io.html#hdf5-pytables>`__
1619

1720

1821
.. ipython:: python
@@ -38,17 +41,9 @@ New features
3841
# selecting the entire store
3942
store.select('df')
4043

41-
.. ipython:: python
42-
:suppress:
43-
44-
store.close()
45-
import os
46-
os.remove('store.h5')
47-
4844
.. ipython:: python
4945

5046
from pandas.io.pytables import Term
51-
store = HDFStore('store.h5')
5247
wp = Panel(randn(2, 5, 4), items=['Item1', 'Item2'],
5348
major_axis=date_range('1/1/2000', periods=5),
5449
minor_axis=['A', 'B', 'C', 'D'])
@@ -65,6 +60,38 @@ New features
6560
store.remove('wp', [ 'major_axis', '>', wp.major_axis[3] ])
6661
store.select('wp')
6762

63+
# deleting a store
64+
del store['df']
65+
store
66+
67+
**Enhancements**
68+
69+
- added multi-dtype support!
70+
71+
.. ipython:: python
72+
73+
df['string'] = 'string'
74+
df['int'] = 1
75+
76+
store.append('df',df)
77+
df1 = store.select('df')
78+
df1
79+
df1.get_dtype_counts()
80+
81+
- performance improvments on table writing
82+
- support for arbitrarily indexed dimensions
83+
84+
**Bug Fixes**
85+
86+
- added ``Term`` method of specifying where conditions, closes GH #1996
87+
- ``del store['df']`` now call ``store.remove('df')`` for store deletion
88+
- deleting of consecutive rows is much faster than before
89+
- ``min_itemsize`` parameter can be specified in table creation to force a minimum size for indexing columns
90+
(the previous implementation would set the column size based on the first append)
91+
- indexing support via ``create_table_index`` (requires PyTables >= 2.3), close GH #698
92+
- appending on a store would fail if the table was not first created via ``put``
93+
- minor change to select and remove: require a table ONLY if where is also provided (and not None)
94+
6895
.. ipython:: python
6996
:suppress:
7097

0 commit comments

Comments
 (0)