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/3751#issuecomment-583367035,https://api.github.com/repos/pydata/xarray/issues/3751,583367035,MDEyOklzc3VlQ29tbWVudDU4MzM2NzAzNQ==,14808389,2020-02-07T12:19:25Z,2020-02-07T12:19:25Z,MEMBER,"no, that's my bad, it is pretty clear but I seem to have skipped over it","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,559873728 https://github.com/pydata/xarray/issues/3751#issuecomment-583364958,https://api.github.com/repos/pydata/xarray/issues/3751,583364958,MDEyOklzc3VlQ29tbWVudDU4MzM2NDk1OA==,14808389,2020-02-07T12:12:33Z,2020-02-07T12:12:33Z,MEMBER,"when the tests fail, `other` is a `pandas.Index` containing whatever has been used to index. The subtraction results in a normal `TimedeltaIndex` which is then passed to the `CFTimeIndex`: ``` np.array(self) = array([cftime.DatetimeNoLeap(0001-02-01 00:00:00)], dtype=object) other = Index([0001-05-01 00:00:00], dtype='object') other[0] = cftime.DatetimeNoLeap(0001-05-01 00:00:00) np.array(self) - other = TimedeltaIndex(['-89 days'], dtype='timedelta64[ns]', freq=None) ``` I think the issue here is that `other` is a `pandas.Index` instead of a `CFTimeIndex`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,559873728