{"action":"created","issue":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/289","labels_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/289/comments","events_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/289/events","html_url":"https://github.com/pgmpy/pgmpy/pull/289","id":58311549,"number":289,"title":"Tabulate fix for the issue #276","user":{"login":"kislayabhi","id":5661623,"avatar_url":"https://avatars.githubusercontent.com/u/5661623?v=3","gravatar_id":"","url":"https://api.github.com/users/kislayabhi","html_url":"https://github.com/kislayabhi","followers_url":"https://api.github.com/users/kislayabhi/followers","following_url":"https://api.github.com/users/kislayabhi/following{/other_user}","gists_url":"https://api.github.com/users/kislayabhi/gists{/gist_id}","starred_url":"https://api.github.com/users/kislayabhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kislayabhi/subscriptions","organizations_url":"https://api.github.com/users/kislayabhi/orgs","repos_url":"https://api.github.com/users/kislayabhi/repos","events_url":"https://api.github.com/users/kislayabhi/events{/privacy}","received_events_url":"https://api.github.com/users/kislayabhi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T05:21:36Z","updated_at":"2015-02-20T05:50:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pgmpy/pgmpy/pulls/289","html_url":"https://github.com/pgmpy/pgmpy/pull/289","diff_url":"https://github.com/pgmpy/pgmpy/pull/289.diff","patch_url":"https://github.com/pgmpy/pgmpy/pull/289.patch"},"body":"Here I have tried to get the ```tabulate``` module working with that of ours. Some serious hacking done. Help me in cleaning this a bit. #276 "},"comment":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/comments/75193052","html_url":"https://github.com/pgmpy/pgmpy/pull/289#issuecomment-75193052","issue_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/289","id":75193052,"user":{"login":"abinash-panda","id":8349790,"avatar_url":"https://avatars.githubusercontent.com/u/8349790?v=3","gravatar_id":"","url":"https://api.github.com/users/abinash-panda","html_url":"https://github.com/abinash-panda","followers_url":"https://api.github.com/users/abinash-panda/followers","following_url":"https://api.github.com/users/abinash-panda/following{/other_user}","gists_url":"https://api.github.com/users/abinash-panda/gists{/gist_id}","starred_url":"https://api.github.com/users/abinash-panda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinash-panda/subscriptions","organizations_url":"https://api.github.com/users/abinash-panda/orgs","repos_url":"https://api.github.com/users/abinash-panda/repos","events_url":"https://api.github.com/users/abinash-panda/events{/privacy}","received_events_url":"https://api.github.com/users/abinash-panda/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T05:50:20Z","updated_at":"2015-02-20T05:50:20Z","body":"@kislayabhi I have few concerns\r\n* Firstly, this code should not be in ```get_cpd```. The whole motive of ```get_cpd``` is to get the tabular cpd array. This should be present in ````__str__``` method. This method is  called when you use ```print``` function.\r\n* Secondly does tabulate also help in producing HTML tables."}}