{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1163","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1163/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1163/comments","events_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1163/events","html_url":"https://github.com/ContinuumIO/blaze/issues/1163","id":93657223,"number":1163,"title":"Creating a column that contains NumPy arrays","user":{"login":"gabrielelanaro","id":239875,"avatar_url":"https://avatars.githubusercontent.com/u/239875?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielelanaro","html_url":"https://github.com/gabrielelanaro","followers_url":"https://api.github.com/users/gabrielelanaro/followers","following_url":"https://api.github.com/users/gabrielelanaro/following{/other_user}","gists_url":"https://api.github.com/users/gabrielelanaro/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielelanaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielelanaro/subscriptions","organizations_url":"https://api.github.com/users/gabrielelanaro/orgs","repos_url":"https://api.github.com/users/gabrielelanaro/repos","events_url":"https://api.github.com/users/gabrielelanaro/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielelanaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T00:06:50Z","updated_at":"2015-07-08T10:21:38Z","closed_at":null,"body":"I was wondering if blaze supports (or will support) the following usecase where a column is made of elements which are multidimensional arrays (In my case each row corresponds to the geometric state of a system, made of points with 3D coordinates each). So far I got the following error:\r\n\r\n    data = bz.Data([[1, np.zeros(10, 3)],\r\n                    [2, np.zeros(10, 3)],\r\n                    [3, np.zeros(10, 3)]])\r\n    \r\n    ---------------------------------------------------------------------------\r\n    TypeError                                 Traceback (most recent call last)\r\n    <ipython-input-3-aef1ede857aa> in <module>()\r\n    ----> 1 data = bz.Data([[1, np.zeros(10, 3)],\r\n          2                 [2, np.zeros(10, 3)],\r\n          3                 [3, np.zeros(10, 3)]])\r\n    \r\n    TypeError: data type not understood\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/comments/119533233","html_url":"https://github.com/ContinuumIO/blaze/issues/1163#issuecomment-119533233","issue_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1163","id":119533233,"user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T10:21:38Z","updated_at":"2015-07-08T10:21:38Z","body":"The error that you're getting is from NumPy, not Blaze\r\n\r\n```python\r\nIn [1]: import numpy as np\r\n\r\nIn [2]: np.zeros(10, 3)\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-2-1c7629840d59> in <module>()\r\n----> 1 np.zeros(10, 3)\r\n\r\nTypeError: data type not understood\r\n\r\nIn [3]: np.zeros((10, 3))\r\nOut[3]: \r\narray([[ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.],\r\n       [ 0.,  0.,  0.]])\r\n```\r\n\r\nBut, after fixing this, Blaze still doesn't handle this case well.  "}}