{"action":"created","issue":{"url":"https://api.github.com/repos/waditu/tushare/issues/13","labels_url":"https://api.github.com/repos/waditu/tushare/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/waditu/tushare/issues/13/comments","events_url":"https://api.github.com/repos/waditu/tushare/issues/13/events","html_url":"https://github.com/waditu/tushare/issues/13","id":72740492,"number":13,"title":"UnboundLocalError when calling get_today_ticks().","user":{"login":"luzhengyang","id":6139414,"avatar_url":"https://avatars.githubusercontent.com/u/6139414?v=3","gravatar_id":"","url":"https://api.github.com/users/luzhengyang","html_url":"https://github.com/luzhengyang","followers_url":"https://api.github.com/users/luzhengyang/followers","following_url":"https://api.github.com/users/luzhengyang/following{/other_user}","gists_url":"https://api.github.com/users/luzhengyang/gists{/gist_id}","starred_url":"https://api.github.com/users/luzhengyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luzhengyang/subscriptions","organizations_url":"https://api.github.com/users/luzhengyang/orgs","repos_url":"https://api.github.com/users/luzhengyang/repos","events_url":"https://api.github.com/users/luzhengyang/events{/privacy}","received_events_url":"https://api.github.com/users/luzhengyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-03T03:32:10Z","updated_at":"2015-05-05T02:38:52Z","closed_at":null,"body":"调用 ```get_today_ticks()```时出错， 错误如下：\r\nUnboundLocalError: local variable 'data' referenced before assignment.\r\n\r\n可以试一下把```data = pd.DataFrame()```放到try外面。"},"comment":{"url":"https://api.github.com/repos/waditu/tushare/issues/comments/98916036","html_url":"https://github.com/waditu/tushare/issues/13#issuecomment-98916036","issue_url":"https://api.github.com/repos/waditu/tushare/issues/13","id":98916036,"user":{"login":"jimmysoa","id":6335378,"avatar_url":"https://avatars.githubusercontent.com/u/6335378?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmysoa","html_url":"https://github.com/jimmysoa","followers_url":"https://api.github.com/users/jimmysoa/followers","following_url":"https://api.github.com/users/jimmysoa/following{/other_user}","gists_url":"https://api.github.com/users/jimmysoa/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmysoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmysoa/subscriptions","organizations_url":"https://api.github.com/users/jimmysoa/orgs","repos_url":"https://api.github.com/users/jimmysoa/repos","events_url":"https://api.github.com/users/jimmysoa/events{/privacy}","received_events_url":"https://api.github.com/users/jimmysoa/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T02:38:52Z","updated_at":"2015-05-05T02:38:52Z","body":"好的，我看一下。谢谢"}}