Skip to content

Commit ae8665c

Browse files
committed
BUG: Compat for pre-0.20 TimedeltaIndex and Float64Index pickles pandas-dev#19939
1 parent a7a7f8c commit ae8665c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/compat/pickle_compat.py

+6
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ def load_reduce(self):
113113
# 19269, arrays moving
114114
('pandas.core.categorical', 'Categorical'):
115115
('pandas.core.arrays', 'Categorical'),
116+
117+
# 19939, add timedeltaindex, float64index compat from 15998 move
118+
('pandas.tseries.tdi', 'TimedeltaIndex'):
119+
('pandas.core.indexes.timedeltas', 'TimedeltaIndex'),
120+
('pandas.indexes.numeric', 'Float64Index'):
121+
('pandas.core.indexes.numeric', 'Float64Index'),
116122
}
117123

118124

0 commit comments

Comments
 (0)