{"action":"created","issue":{"url":"https://api.github.com/repos/predicador37/pyjstat/issues/3","labels_url":"https://api.github.com/repos/predicador37/pyjstat/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/predicador37/pyjstat/issues/3/comments","events_url":"https://api.github.com/repos/predicador37/pyjstat/issues/3/events","html_url":"https://github.com/predicador37/pyjstat/issues/3","id":59264799,"number":3,"title":"DataFrame conversion not working","user":{"login":"rezpe","id":765458,"avatar_url":"https://avatars.githubusercontent.com/u/765458?v=3","gravatar_id":"","url":"https://api.github.com/users/rezpe","html_url":"https://github.com/rezpe","followers_url":"https://api.github.com/users/rezpe/followers","following_url":"https://api.github.com/users/rezpe/following{/other_user}","gists_url":"https://api.github.com/users/rezpe/gists{/gist_id}","starred_url":"https://api.github.com/users/rezpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezpe/subscriptions","organizations_url":"https://api.github.com/users/rezpe/orgs","repos_url":"https://api.github.com/users/rezpe/repos","events_url":"https://api.github.com/users/rezpe/events{/privacy}","received_events_url":"https://api.github.com/users/rezpe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"predicador37","id":2300989,"avatar_url":"https://avatars.githubusercontent.com/u/2300989?v=3","gravatar_id":"","url":"https://api.github.com/users/predicador37","html_url":"https://github.com/predicador37","followers_url":"https://api.github.com/users/predicador37/followers","following_url":"https://api.github.com/users/predicador37/following{/other_user}","gists_url":"https://api.github.com/users/predicador37/gists{/gist_id}","starred_url":"https://api.github.com/users/predicador37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predicador37/subscriptions","organizations_url":"https://api.github.com/users/predicador37/orgs","repos_url":"https://api.github.com/users/predicador37/repos","events_url":"https://api.github.com/users/predicador37/events{/privacy}","received_events_url":"https://api.github.com/users/predicador37/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-27T17:12:10Z","updated_at":"2015-03-02T14:09:10Z","closed_at":"2015-02-28T22:46:52Z","body":"Hi,\r\n\r\n   First thing: Your lirary is great, keep up with the good work. I am trying to use your lib to create JSON Stat Web services, but there's a problem in the dataframe to JSON stat conversion:\r\nIf you execute this code, you'll see the problem:\r\n\r\n```python\r\nfrom pyjstat import pyjstat\r\nimport urllib2\r\nimport json\r\n\r\nresults = pyjstat.from_json_stat(json.load(urllib2.urlopen(\r\n                         'http://json-stat.org/samples/oecd-canada.json')))\r\nintermediary = pyjstat.to_json_stat(results)\r\nprint  pyjstat.from_json_stat(intermediary)\r\n--> Error: TypeError: string indices must be integers, not str\r\n```"},"comment":{"url":"https://api.github.com/repos/predicador37/pyjstat/issues/comments/76717118","html_url":"https://github.com/predicador37/pyjstat/issues/3#issuecomment-76717118","issue_url":"https://api.github.com/repos/predicador37/pyjstat/issues/3","id":76717118,"user":{"login":"rezpe","id":765458,"avatar_url":"https://avatars.githubusercontent.com/u/765458?v=3","gravatar_id":"","url":"https://api.github.com/users/rezpe","html_url":"https://github.com/rezpe","followers_url":"https://api.github.com/users/rezpe/followers","following_url":"https://api.github.com/users/rezpe/following{/other_user}","gists_url":"https://api.github.com/users/rezpe/gists{/gist_id}","starred_url":"https://api.github.com/users/rezpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezpe/subscriptions","organizations_url":"https://api.github.com/users/rezpe/orgs","repos_url":"https://api.github.com/users/rezpe/repos","events_url":"https://api.github.com/users/rezpe/events{/privacy}","received_events_url":"https://api.github.com/users/rezpe/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T14:09:09Z","updated_at":"2015-03-02T14:09:09Z","body":"Hi, I have tried and I have a strange result:\r\n\r\n```python\r\nfrom pyjstat import pyjstat\r\nimport urllib2\r\nimport json\r\n​\r\nresults = pyjstat.from_json_stat(json.load(urllib2.urlopen('http://json-stat.org/samples/oecd-canada.json')))\r\nintermediary = pyjstat.to_json_stat(results)\r\npyjstat.from_json_stat(intermediary)\r\nOutput: []\r\n```"}}