Skip to content

Commit

Permalink
BUG: Compat for pre-0.20 TimedeltaIndex and Float64Index pickles #19939
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam3851 committed Mar 2, 2018
1 parent a7a7f8c commit ae8665c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pandas/compat/pickle_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ def load_reduce(self):
# 19269, arrays moving
('pandas.core.categorical', 'Categorical'):
('pandas.core.arrays', 'Categorical'),

# 19939, add timedeltaindex, float64index compat from 15998 move
('pandas.tseries.tdi', 'TimedeltaIndex'):
('pandas.core.indexes.timedeltas', 'TimedeltaIndex'),
('pandas.indexes.numeric', 'Float64Index'):
('pandas.core.indexes.numeric', 'Float64Index'),
}


Expand Down

0 comments on commit ae8665c

Please sign in to comment.