{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/7663","labels_url":"https://api.github.com/repos/pydata/pandas/issues/7663/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/7663/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/7663/events","html_url":"https://github.com/pydata/pandas/issues/7663","id":37132256,"number":7663,"title":"DOC: clarify that .ix[] is always label based with integer index","user":{"login":"tianchuanting","id":5655024,"avatar_url":"https://avatars.githubusercontent.com/u/5655024?v=3","gravatar_id":"","url":"https://api.github.com/users/tianchuanting","html_url":"https://github.com/tianchuanting","followers_url":"https://api.github.com/users/tianchuanting/followers","following_url":"https://api.github.com/users/tianchuanting/following{/other_user}","gists_url":"https://api.github.com/users/tianchuanting/gists{/gist_id}","starred_url":"https://api.github.com/users/tianchuanting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianchuanting/subscriptions","organizations_url":"https://api.github.com/users/tianchuanting/orgs","repos_url":"https://api.github.com/users/tianchuanting/repos","events_url":"https://api.github.com/users/tianchuanting/events{/privacy}","received_events_url":"https://api.github.com/users/tianchuanting/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Docs","name":"Docs","color":"3465A4"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/25","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/25/labels","id":569113,"number":25,"title":"0.16.0","description":"after 0.15 of course!","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":891,"closed_issues":159,"state":"open","created_at":"2014-02-14T03:31:22Z","updated_at":"2015-01-17T09:57:14Z","due_on":"2015-02-28T08:00:00Z","closed_at":null},"comments":10,"created_at":"2014-07-03T23:26:29Z","updated_at":"2015-01-17T09:57:14Z","closed_at":"2015-01-17T09:57:14Z","body":"According to the documentation, ix should accept the all the input to iloc. In the following the .ix raises  an KeyError while .iloc work as expected. I suspect the fall back mechanism is broken in this case with integer index. \r\n\r\n```python\r\nimport pandas as pd\r\nimport numpy as np\r\n\r\ndf = pd.Series(np.random.randn(9))\r\ndf.iloc[-1]\r\ndf.ix[-1] # raise KeyError\r\n  ```\r\nversion: \r\npandas: 0.13.1\r\npython: 2.7.6.final.0\r\n\r\n\r\nEDIT: Changed title from \"df.ix[-1] broken\" to \"DOC: clarify that .ix[] is always label based with integer index\""},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/70361290","html_url":"https://github.com/pydata/pandas/issues/7663#issuecomment-70361290","issue_url":"https://api.github.com/repos/pydata/pandas/issues/7663","id":70361290,"user":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars.githubusercontent.com/u/1020496?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T09:57:14Z","updated_at":"2015-01-17T09:57:14Z","body":"yes, indeed that seems so. Thanks for noticing!"}}