Skip to content

Commit 1111fa1

Browse files
committed
Merge pull request #3762 from jreback/hdf_py3k
ENH: support HDFStore in Python3 (via PyTables 3.0.0)
2 parents c278ca6 + fb25ac1 commit 1111fa1

File tree

9 files changed

+365
-219
lines changed

9 files changed

+365
-219
lines changed

README.rst

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Optional dependencies
8585
- `Cython <http://www.cython.org>`__: Only necessary to build development version. Version 0.17.1 or higher.
8686
- `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions
8787
- `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage
88-
- Not yet supported on python >= 3
8988
- `matplotlib <http://matplotlib.sourceforge.net/>`__: for plotting
9089
- `statsmodels <http://statsmodels.sourceforge.net/>`__
9190
- Needed for parts of :mod:`pandas.stats`

RELEASE.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pandas 0.11.1
6363
to append an index with a different name than the existing
6464
- support datelike columns with a timezone as data_columns (GH2852_)
6565
- table writing performance improvements.
66+
- support python3 (via ``PyTables 3.0.0``) (GH3750_)
6667
- Add modulo operator to Series, DataFrame
6768
- Add ``date`` method to DatetimeIndex
6869
- Simplified the API and added a describe method to Categorical
@@ -79,10 +80,14 @@ pandas 0.11.1
7980

8081
**API Changes**
8182

82-
- When removing an object from a ``HDFStore``, ``remove(key)`` raises
83-
``KeyError`` if the key is not a valid store object.
84-
- In an ``HDFStore``, raise a ``TypeError`` on passing ``where`` or ``columns``
85-
to select with a Storer; these are invalid parameters at this time
83+
- ``HDFStore``
84+
85+
- When removing an object, ``remove(key)`` raises
86+
``KeyError`` if the key is not a valid store object.
87+
- raise a ``TypeError`` on passing ``where`` or ``columns``
88+
to select with a Storer; these are invalid parameters at this time
89+
- can now specify an ``encoding`` option to ``append/put``
90+
to enable alternate encodings (GH3750_)
8691
- The repr() for (Multi)Index now obeys display.max_seq_items rather
8792
then numpy threshold print options. (GH3426_, GH3466_)
8893
- Added mangle_dupe_cols option to read_table/csv, allowing users
@@ -288,6 +293,7 @@ pandas 0.11.1
288293
.. _GH3740: https://github.com/pydata/pandas/issues/3740
289294
.. _GH3748: https://github.com/pydata/pandas/issues/3748
290295
.. _GH3741: https://github.com/pydata/pandas/issues/3741
296+
.. _GH3750: https://github.com/pydata/pandas/issues/3750
291297

292298
pandas 0.11.0
293299
=============

ci/install.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,11 @@ if ( ! $VENV_FILE_AVAILABLE ); then
6969
pip install $PIP_ARGS cython
7070

7171
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
72-
# installed explicitly above, to get the library as well
73-
# sudo apt-get $APT_ARGS install libhdf5-serial-dev;
74-
pip install numexpr
75-
pip install tables
7672
pip install $PIP_ARGS xlwt
7773
fi
7874

75+
pip install numexpr
76+
pip install tables
7977
pip install $PIP_ARGS matplotlib
8078
pip install $PIP_ARGS openpyxl
8179
pip install $PIP_ARGS xlrd>=0.9.0

doc/source/install.rst

-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ Optional Dependencies
9595
version. Version 0.17.1 or higher.
9696
* `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions
9797
* `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage
98-
* Not yet supported on python >= 3
9998
* `matplotlib <http://matplotlib.sourceforge.net/>`__: for plotting
10099
* `statsmodels <http://statsmodels.sourceforge.net/>`__
101100
* Needed for parts of :mod:`pandas.stats`

doc/source/io.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -1300,12 +1300,11 @@ the high performance HDF5 format using the excellent `PyTables
13001300
<http://www.pytables.org/>`__ library. See the :ref:`cookbook<cookbook.hdf>`
13011301
for some advanced strategies
13021302
1303-
.. warning::
1303+
.. note::
13041304
1305-
``PyTables`` 3.0.0 was recently released. This enables support for Python 3,
1306-
however, it has not been integrated into pandas as of yet. (Under Python 2,
1307-
``PyTables`` version >= 2.3 is supported).
1308-
1305+
``PyTables`` 3.0.0 was recently released to enables support for Python 3.
1306+
Pandas should be fully compatible (and previously written stores should be
1307+
backwards compatible) with all ``PyTables`` >= 2.3
13091308
13101309
.. ipython:: python
13111310
:suppress:

doc/source/v0.11.1.txt

+3
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ Enhancements
237237
pd.get_option('a.b')
238238
pd.get_option('b.c')
239239

240+
- Support for ``HDFStore`` (via ``PyTables 3.0.0``) on Python3
241+
242+
240243
Bug Fixes
241244
~~~~~~~~~
242245

0 commit comments

Comments
 (0)