html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/2484#issuecomment-429540715,https://api.github.com/repos/pydata/xarray/issues/2484,429540715,MDEyOklzc3VlQ29tbWVudDQyOTU0MDcxNQ==,6628425,2018-10-13T13:10:33Z,2018-10-13T13:20:35Z,MEMBER,"Adding a TimedeltaIndex to a CFTimeIndex would also make sense: ``` In [1]: import xarray as xr; import pandas as pd In [2]: a = xr.cftime_range('2000', periods=5) In [3]: deltas = pd.TimedeltaIndex([pd.Timedelta(days=1) for _ in range(5)]) In [4]: a + deltas Out[4]: CFTimeIndex([2000-01-02 00:00:00, 2000-01-03 00:00:00, 2000-01-04 00:00:00, 2000-01-05 00:00:00, 2000-01-06 00:00:00], dtype='object') In [5]: deltas + a Out[5]: CFTimeIndex([2000-01-02 00:00:00, 2000-01-03 00:00:00, 2000-01-04 00:00:00, 2000-01-05 00:00:00, 2000-01-06 00:00:00], dtype='object') ``` So would subtracting a TimedeltaIndex from a CFTimeIndex: ``` In [6]: a - deltas Out[6]: CFTimeIndex([1999-12-31 00:00:00, 2000-01-01 00:00:00, 2000-01-02 00:00:00, 2000-01-03 00:00:00, 2000-01-04 00:00:00], dtype='object') ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,369751771