{"action":"created","issue":{"url":"https://api.github.com/repos/statsmodels/statsmodels/issues/5260","repository_url":"https://api.github.com/repos/statsmodels/statsmodels","labels_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/5260/labels{/name}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/5260/comments","events_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/5260/events","html_url":"https://github.com/statsmodels/statsmodels/pull/5260","id":364280465,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NTA1ODc5","number":5260,"title":"MAINT: avoid pandas FutureWarning by checking specific condition","user":{"login":"jbrockmendel","id":8078968,"node_id":"MDQ6VXNlcjgwNzg5Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/8078968?v=4","gravatar_id":"","url":"https://api.github.com/users/jbrockmendel","html_url":"https://github.com/jbrockmendel","followers_url":"https://api.github.com/users/jbrockmendel/followers","following_url":"https://api.github.com/users/jbrockmendel/following{/other_user}","gists_url":"https://api.github.com/users/jbrockmendel/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrockmendel/subscriptions","organizations_url":"https://api.github.com/users/jbrockmendel/orgs","repos_url":"https://api.github.com/users/jbrockmendel/repos","events_url":"https://api.github.com/users/jbrockmendel/events{/privacy}","received_events_url":"https://api.github.com/users/jbrockmendel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T02:25:52Z","updated_at":"2018-09-27T03:13:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/5260","html_url":"https://github.com/statsmodels/statsmodels/pull/5260","diff_url":"https://github.com/statsmodels/statsmodels/pull/5260.diff","patch_url":"https://github.com/statsmodels/statsmodels/pull/5260.patch"},"body":"Noticed in test logs:\r\n\r\n```\r\niolib/table.py:639: FutureWarning: Index.data is deprecated and will be removed in a future version\r\n  self.data = data.data\r\niolib/table.py:639: FutureWarning: Float64Index.data is deprecated and will be removed in a future version\r\n  self.data = data.data\r\n```\r\n\r\n`Cell.__init__` currently uses a try/except to duck-type the check for another `Cell` object being passed as `data`.  In the case where a pandas Index is passed, the try/except works correctly, but not before issuing a warning.\r\n\r\nThis PR changes the try/except check to a specific check for the relevant case, avoiding the FutureWarning."},"comment":{"url":"https://api.github.com/repos/statsmodels/statsmodels/issues/comments/424944769","html_url":"https://github.com/statsmodels/statsmodels/pull/5260#issuecomment-424944769","issue_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/5260","id":424944769,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk0NDc2OQ==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T03:13:23Z","updated_at":"2018-09-27T03:13:23Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/19216405/badge)](https://coveralls.io/builds/19216405)\n\nCoverage decreased (-0.002%) to 84.211% when pulling **acb46be59c406cd48e196c8a179a130813fb9694 on jbrockmendel:deprdata** into **e1d1156a0a87f1baee5df4e6cb354b176924890e on statsmodels:master**.\n"}}
{"actor":{"display_login":"coveralls"}}