{"action":"opened","issue":{"url":"https://api.github.com/repos/FilipeMaia/afnumpy/issues/3","labels_url":"https://api.github.com/repos/FilipeMaia/afnumpy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/FilipeMaia/afnumpy/issues/3/comments","events_url":"https://api.github.com/repos/FilipeMaia/afnumpy/issues/3/events","html_url":"https://github.com/FilipeMaia/afnumpy/issues/3","id":93851937,"number":3,"title":"Slicing a multidimensional array","user":{"login":"daurer","id":5823208,"avatar_url":"https://avatars.githubusercontent.com/u/5823208?v=3","gravatar_id":"","url":"https://api.github.com/users/daurer","html_url":"https://github.com/daurer","followers_url":"https://api.github.com/users/daurer/followers","following_url":"https://api.github.com/users/daurer/following{/other_user}","gists_url":"https://api.github.com/users/daurer/gists{/gist_id}","starred_url":"https://api.github.com/users/daurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurer/subscriptions","organizations_url":"https://api.github.com/users/daurer/orgs","repos_url":"https://api.github.com/users/daurer/repos","events_url":"https://api.github.com/users/daurer/events{/privacy}","received_events_url":"https://api.github.com/users/daurer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T17:59:28Z","updated_at":"2015-07-08T17:59:28Z","closed_at":null,"body":"When slicing a multidimensional array like this:\r\n```python\r\na = afnumpy.ones((10,20))\r\nprint a[0]\r\nprint a[0,:]\r\n```\r\n```\r\narray([ 1.])\r\narray([ 1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,\r\n        1.,  1.,  1.,  1.,  1.,  1.,  1.])\r\n```\r\nwouldn't it be better if the first case would match the second case, always slicing the remaining dimensions rather than selecting the first item along all dimensions?"}}