{"action":"opened","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/9926","labels_url":"https://api.github.com/repos/pydata/pandas/issues/9926/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/9926/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/9926/events","html_url":"https://github.com/pydata/pandas/issues/9926","id":69247223,"number":9926,"title":"BUG: index name lost with timedelta ops","user":{"login":"sinhrks","id":1696302,"avatar_url":"https://avatars.githubusercontent.com/u/1696302?v=3","gravatar_id":"","url":"https://api.github.com/users/sinhrks","html_url":"https://github.com/sinhrks","followers_url":"https://api.github.com/users/sinhrks/followers","following_url":"https://api.github.com/users/sinhrks/following{/other_user}","gists_url":"https://api.github.com/users/sinhrks/gists{/gist_id}","starred_url":"https://api.github.com/users/sinhrks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinhrks/subscriptions","organizations_url":"https://api.github.com/users/sinhrks/orgs","repos_url":"https://api.github.com/users/sinhrks/repos","events_url":"https://api.github.com/users/sinhrks/events{/privacy}","received_events_url":"https://api.github.com/users/sinhrks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Timedelta","name":"Timedelta","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-18T00:36:11Z","updated_at":"2015-04-18T00:36:11Z","closed_at":null,"body":"```\r\nimport pandas as pd \r\n\r\ndtidx = pd.DatetimeIndex(['2011-01-01'], freq='D', name='dtidx')\r\n(dtidx + 1).name\r\n# dtidx\r\n\r\n# NG\r\n(dtidx + pd.Timedelta('1 day')).name\r\n# None\r\n\r\ntdidx = pd.TimedeltaIndex(['1 day'], freq='D', name='tdidx')\r\n(tdidx + 1).name\r\n# tdidx\r\n\r\n# NG\r\n(tdidx + pd.Timedelta('1 day')).name\r\n# None\r\n```\r\n\r\nref: #9862"}}