Skip to content

ENH: support HDFStore in Python3 (via PyTables 3.0.0) #3762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 6, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Optional dependencies
- `Cython <http://www.cython.org>`__: Only necessary to build development version. Version 0.17.1 or higher.
- `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions
- `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage
- Not yet supported on python >= 3
- `matplotlib <http://matplotlib.sourceforge.net/>`__: for plotting
- `statsmodels <http://statsmodels.sourceforge.net/>`__
- Needed for parts of :mod:`pandas.stats`
Expand Down
14 changes: 10 additions & 4 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pandas 0.11.1
to append an index with a different name than the existing
- support datelike columns with a timezone as data_columns (GH2852_)
- table writing performance improvements.
- support python3 (via ``PyTables 3.0.0``) (GH3750_)
- Add modulo operator to Series, DataFrame
- Add ``date`` method to DatetimeIndex
- Simplified the API and added a describe method to Categorical
Expand All @@ -79,10 +80,14 @@ pandas 0.11.1

**API Changes**

- When removing an object from a ``HDFStore``, ``remove(key)`` raises
``KeyError`` if the key is not a valid store object.
- In an ``HDFStore``, raise a ``TypeError`` on passing ``where`` or ``columns``
to select with a Storer; these are invalid parameters at this time
- ``HDFStore``

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

pandas 0.11.0
=============
Expand Down
6 changes: 2 additions & 4 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,11 @@ if ( ! $VENV_FILE_AVAILABLE ); then
pip install $PIP_ARGS cython

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

pip install numexpr
pip install tables
pip install $PIP_ARGS matplotlib
pip install $PIP_ARGS openpyxl
pip install $PIP_ARGS xlrd>=0.9.0
Expand Down
1 change: 0 additions & 1 deletion doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ Optional Dependencies
version. Version 0.17.1 or higher.
* `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions
* `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage
* Not yet supported on python >= 3
* `matplotlib <http://matplotlib.sourceforge.net/>`__: for plotting
* `statsmodels <http://statsmodels.sourceforge.net/>`__
* Needed for parts of :mod:`pandas.stats`
Expand Down
9 changes: 4 additions & 5 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1300,12 +1300,11 @@ the high performance HDF5 format using the excellent `PyTables
<http://www.pytables.org/>`__ library. See the :ref:`cookbook<cookbook.hdf>`
for some advanced strategies

.. warning::
.. note::

``PyTables`` 3.0.0 was recently released. This enables support for Python 3,
however, it has not been integrated into pandas as of yet. (Under Python 2,
``PyTables`` version >= 2.3 is supported).

``PyTables`` 3.0.0 was recently released to enables support for Python 3.
Pandas should be fully compatible (and previously written stores should be
backwards compatible) with all ``PyTables`` >= 2.3

.. ipython:: python
:suppress:
Expand Down
3 changes: 3 additions & 0 deletions doc/source/v0.11.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ Enhancements
pd.get_option('a.b')
pd.get_option('b.c')

- Support for ``HDFStore`` (via ``PyTables 3.0.0``) on Python3


Bug Fixes
~~~~~~~~~

Expand Down
Loading