Commit f56c6a3f authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

patch: as of pandas 0.24.1 Datetime indexes union sorts by default

parent 8d21823fb207
......@@ -148,7 +148,7 @@ class SeriesServices(object):
assert diff is not None
basei = base.index
diffi = diff.index
newindex = basei.union(diffi).sort_values()
newindex = basei.union(diffi)
patched = pd.Series([0] * len(newindex), index=newindex)
patched[basei] = base
patched[diffi] = diff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment