{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/biggus/issues/141","labels_url":"https://api.github.com/repos/SciTools/biggus/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/biggus/issues/141/comments","events_url":"https://api.github.com/repos/SciTools/biggus/issues/141/events","html_url":"https://github.com/SciTools/biggus/pull/141","id":64490501,"number":141,"title":"Added AsDataTypeArray and the Array.astype method.","user":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T10:26:30Z","updated_at":"2015-03-26T12:13:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SciTools/biggus/pulls/141","html_url":"https://github.com/SciTools/biggus/pull/141","diff_url":"https://github.com/SciTools/biggus/pull/141.diff","patch_url":"https://github.com/SciTools/biggus/pull/141.patch"},"body":"This was one of the things I thought of on my :bike: this morning."},"comment":{"url":"https://api.github.com/repos/SciTools/biggus/issues/comments/86486223","html_url":"https://github.com/SciTools/biggus/pull/141#issuecomment-86486223","issue_url":"https://api.github.com/repos/SciTools/biggus/issues/141","id":86486223,"user":{"login":"rhattersley","id":917914,"avatar_url":"https://avatars.githubusercontent.com/u/917914?v=3","gravatar_id":"","url":"https://api.github.com/users/rhattersley","html_url":"https://github.com/rhattersley","followers_url":"https://api.github.com/users/rhattersley/followers","following_url":"https://api.github.com/users/rhattersley/following{/other_user}","gists_url":"https://api.github.com/users/rhattersley/gists{/gist_id}","starred_url":"https://api.github.com/users/rhattersley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhattersley/subscriptions","organizations_url":"https://api.github.com/users/rhattersley/orgs","repos_url":"https://api.github.com/users/rhattersley/repos","events_url":"https://api.github.com/users/rhattersley/events{/privacy}","received_events_url":"https://api.github.com/users/rhattersley/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T12:13:49Z","updated_at":"2015-03-26T12:13:49Z","body":"```python\r\n>>> biggus.zeros(3).astype('i4')[:2]\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/data/local/ithr/miniconda/envs/biggus/lib/python2.7/site-packages/biggus/__init__.py\", line 538, in __getitem__\r\n    indexed_array = self._getitem_full_keys(keys)\r\n  File \"/data/local/ithr/miniconda/envs/biggus/lib/python2.7/site-packages/biggus/__init__.py\", line 662, in _getitem_full_keys\r\n    return self.array._getitem_full_keys(keys)\r\n  File \"/data/local/ithr/miniconda/envs/biggus/lib/python2.7/site-packages/biggus/__init__.py\", line 556, in _getitem_full_keys\r\n    raise NotImplementedError('_getitem_full_keys should be overridden.')\r\nNotImplementedError: _getitem_full_keys should be overridden.\r\n```\r\nAnd that's why I like abstract methods... :wink: "}}