Skip to content

Commit d9101bc

Browse files
committed
fix back-compat for < 0.13
1 parent ed57bd5 commit d9101bc

9 files changed

+8
-5
lines changed

doc/source/whatsnew/v0.20.0.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ Using ``.iloc``. Here we will get the location of the 'A' column, then use *posi
248248

249249
.. _whatsnew.api_breaking.io_compat
250250

251-
Possible incompat for pickle and HDF5 formats for pandas < 0.13.0
252-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
251+
Possible incompat for HDF5 formats for pandas < 0.13.0
252+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
253253

254254
``pd.TimeSeries`` was deprecated officially in 0.17.0, though has only been an alias since 0.13.0. It has
255255
been dropped in favor of ``pd.Series``. (:issue:``15098).
256256

257-
This *may* cause pickles / HDF5 files that were created in prior versions to become unreadable if ``pd.TimeSeries``
257+
This *may* cause HDF5 files that were created in prior versions to become unreadable if ``pd.TimeSeries``
258258
was used. This is most likely to be for pandas < 0.13.0. If you find yourself in this situation.
259-
You can use a recent prior version of pandas to read in your pickle / HDF5 files,
259+
You can use a recent prior version of pandas to read in your HDF5 files,
260260
then write them out again after applying the procedure below.
261261

262262
.. code-block:: ipython

pandas/compat/pickle_compat.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ def load_reduce(self):
5858

5959
# 15477
6060
('pandas.core.base', 'FrozenNDArray'): ('pandas.indexes.frozen', 'FrozenNDArray'),
61-
('pandas.core.base', 'FrozenList'): ('pandas.indexes.frozen', 'FrozenList')
61+
('pandas.core.base', 'FrozenList'): ('pandas.indexes.frozen', 'FrozenList'),
62+
63+
# 10890
64+
('pandas.core.series', 'TimeSeries'): ('pandas.core.series', 'Series')
6265
}
6366

6467

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)