{"action":"created","issue":{"url":"https://api.github.com/repos/dato-code/SFrame/issues/136","labels_url":"https://api.github.com/repos/dato-code/SFrame/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/dato-code/SFrame/issues/136/comments","events_url":"https://api.github.com/repos/dato-code/SFrame/issues/136/events","html_url":"https://github.com/dato-code/SFrame/issues/136","id":127559127,"number":136,"title":"The output of a sframe[row] is a dict, which messes up the output","user":{"login":"znation","id":5673251,"avatar_url":"https://avatars.githubusercontent.com/u/5673251?v=3","gravatar_id":"","url":"https://api.github.com/users/znation","html_url":"https://github.com/znation","followers_url":"https://api.github.com/users/znation/followers","following_url":"https://api.github.com/users/znation/following{/other_user}","gists_url":"https://api.github.com/users/znation/gists{/gist_id}","starred_url":"https://api.github.com/users/znation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/znation/subscriptions","organizations_url":"https://api.github.com/users/znation/orgs","repos_url":"https://api.github.com/users/znation/repos","events_url":"https://api.github.com/users/znation/events{/privacy}","received_events_url":"https://api.github.com/users/znation/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dato-code/SFrame/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T22:59:06Z","updated_at":"2016-01-19T23:11:43Z","closed_at":"2016-01-19T23:11:43Z","body":"Being new to the platform, I wanted to look at a row of data and did:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3951218/12184014/765c8604-b547-11e5-834b-1723dcc2861f.png)\r\n\r\nWhich is great, except the columns are out of order from the original SFrame, which made me think I had a bug, and kept looking for a while. Then I decided to save the SFrame to disk (as CSV), and BOOM everything is as expected.\r\n\r\nThis is very annoying that the columns are not in the order displayed. Hoyt says that we could use an ordereddict and it would fix this."},"comment":{"url":"https://api.github.com/repos/dato-code/SFrame/issues/comments/173018233","html_url":"https://github.com/dato-code/SFrame/issues/136#issuecomment-173018233","issue_url":"https://api.github.com/repos/dato-code/SFrame/issues/136","id":173018233,"user":{"login":"ylow","id":2740522,"avatar_url":"https://avatars.githubusercontent.com/u/2740522?v=3","gravatar_id":"","url":"https://api.github.com/users/ylow","html_url":"https://github.com/ylow","followers_url":"https://api.github.com/users/ylow/followers","following_url":"https://api.github.com/users/ylow/following{/other_user}","gists_url":"https://api.github.com/users/ylow/gists{/gist_id}","starred_url":"https://api.github.com/users/ylow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylow/subscriptions","organizations_url":"https://api.github.com/users/ylow/orgs","repos_url":"https://api.github.com/users/ylow/repos","events_url":"https://api.github.com/users/ylow/events{/privacy}","received_events_url":"https://api.github.com/users/ylow/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T23:11:43Z","updated_at":"2016-01-19T23:11:43Z","body":"That's quirky and seems to serve no purpose other than presentation. The OrderedDict is strictly slower than the dict and is non-native (it is implemented in Python. See collections.py)\r\n\r\nThe dict is at least a common type and should be used preferably I would think."}}