{"action":"created","issue":{"url":"https://api.github.com/repos/UDST/urbansim/issues/158","repository_url":"https://api.github.com/repos/UDST/urbansim","labels_url":"https://api.github.com/repos/UDST/urbansim/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/UDST/urbansim/issues/158/comments","events_url":"https://api.github.com/repos/UDST/urbansim/issues/158/events","html_url":"https://github.com/UDST/urbansim/pull/158","id":140625624,"number":158,"title":"use `pd.Int64Index()`","user":{"login":"juanshishido","id":7218875,"avatar_url":"https://avatars.githubusercontent.com/u/7218875?v=3","gravatar_id":"","url":"https://api.github.com/users/juanshishido","html_url":"https://github.com/juanshishido","followers_url":"https://api.github.com/users/juanshishido/followers","following_url":"https://api.github.com/users/juanshishido/following{/other_user}","gists_url":"https://api.github.com/users/juanshishido/gists{/gist_id}","starred_url":"https://api.github.com/users/juanshishido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanshishido/subscriptions","organizations_url":"https://api.github.com/users/juanshishido/orgs","repos_url":"https://api.github.com/users/juanshishido/repos","events_url":"https://api.github.com/users/juanshishido/events{/privacy}","received_events_url":"https://api.github.com/users/juanshishido/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-14T09:52:12Z","updated_at":"2016-03-14T22:08:47Z","closed_at":"2016-03-14T13:38:26Z","pull_request":{"url":"https://api.github.com/repos/UDST/urbansim/pulls/158","html_url":"https://github.com/UDST/urbansim/pull/158","diff_url":"https://github.com/UDST/urbansim/pull/158.diff","patch_url":"https://github.com/UDST/urbansim/pull/158.patch"},"body":"* return `pd.DataFrame` with `pd.Int64Index()` index in `remove_rows()`\r\n* add `assert_empty_int64index()` to use with `test_tgrtransition_with_accounting()`\r\n\r\nI tried changing as little code as possible.\r\n\r\nNote that the failed build is due to changes in pandas (possibly 0.18 (or >=0.17.1)), as commented [here](https://github.com/UDST/urbansim/commit/058a930f31cd9c9c4d16c1875578f3c66086cc3f#commitcomment-16666541).\r\n\r\n--\r\n\r\nAlternatively, for the `test_*remove*all()` tests at least, the `check_index_type` option in `pdt.assert_frame_equal()` can be set to `False`. This isn't guaranteed to fix everything."},"comment":{"url":"https://api.github.com/repos/UDST/urbansim/issues/comments/196542403","html_url":"https://github.com/UDST/urbansim/pull/158#issuecomment-196542403","issue_url":"https://api.github.com/repos/UDST/urbansim/issues/158","id":196542403,"user":{"login":"jiffyclub","id":920492,"avatar_url":"https://avatars.githubusercontent.com/u/920492?v=3","gravatar_id":"","url":"https://api.github.com/users/jiffyclub","html_url":"https://github.com/jiffyclub","followers_url":"https://api.github.com/users/jiffyclub/followers","following_url":"https://api.github.com/users/jiffyclub/following{/other_user}","gists_url":"https://api.github.com/users/jiffyclub/gists{/gist_id}","starred_url":"https://api.github.com/users/jiffyclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiffyclub/subscriptions","organizations_url":"https://api.github.com/users/jiffyclub/orgs","repos_url":"https://api.github.com/users/jiffyclub/repos","events_url":"https://api.github.com/users/jiffyclub/events{/privacy}","received_events_url":"https://api.github.com/users/jiffyclub/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T22:08:47Z","updated_at":"2016-03-14T22:08:47Z","body":"You can specify the library versions (which you would do [here](https://github.com/UDST/urbansim/blob/master/.travis.yml#L16)), but I generally like to notified of these kind of changes ASAP instead of finding out about them from users later. These issues are minor, but if things get harrier you may need to set up Travis to test against multiple versions of Pandas."}}