{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/14167","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/14167/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/14167/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/14167/events","html_url":"https://github.com/pydata/pandas/issues/14167","id":175379469,"number":14167,"title":"SparseSeries.__array__ only returns non-fills","user":{"login":"jnothman","id":78827,"avatar_url":"https://avatars.githubusercontent.com/u/78827?v=3","gravatar_id":"","url":"https://api.github.com/users/jnothman","html_url":"https://github.com/jnothman","followers_url":"https://api.github.com/users/jnothman/followers","following_url":"https://api.github.com/users/jnothman/following{/other_user}","gists_url":"https://api.github.com/users/jnothman/gists{/gist_id}","starred_url":"https://api.github.com/users/jnothman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnothman/subscriptions","organizations_url":"https://api.github.com/users/jnothman/orgs","repos_url":"https://api.github.com/users/jnothman/repos","events_url":"https://api.github.com/users/jnothman/events{/privacy}","received_events_url":"https://api.github.com/users/jnothman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/API%20Design","name":"API Design","color":"AD7FA8"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Sparse","name":"Sparse","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/33","html_url":"https://github.com/pydata/pandas/milestones/No%20action","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/33/labels","id":997544,"number":33,"title":"No action","description":"A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n","creator":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars.githubusercontent.com/u/1020496?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":340,"state":"open","created_at":"2015-02-26T19:29:05Z","updated_at":"2016-09-07T03:36:28Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-09-06T23:51:36Z","updated_at":"2016-09-07T05:44:32Z","closed_at":"2016-09-07T00:18:08Z","body":"#### Code Sample, a copy-pastable example if possible\r\n\r\n```python\r\n>>> np.array(pd.SparseSeries([0, 1], fill_value=0))\r\narray([1])\r\n```\r\n\r\n#### Expected Output\r\n```\r\narray([0, 1])\r\n```\r\n\r\nthis should really be consistent with `Series` rather than just returning the non-fill values (i.e. rather than being equivalent to `np.array(ps.SparseArray([np.nan, 1]))`.\r\n\r\n#### output of ``pd.show_versions()``\r\n\r\nPandas 0.18.1\r\n\r\nshould alone be relevant.\r\n\r\nApologies I've not checked if this is fixed in master. Just passing on issues from \r\nscikit-learn/scikit-learn#7352."},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/245181187","html_url":"https://github.com/pydata/pandas/issues/14167#issuecomment-245181187","issue_url":"https://api.github.com/repos/pydata/pandas/issues/14167","id":245181187,"user":{"login":"sinhrks","id":1696302,"avatar_url":"https://avatars.githubusercontent.com/u/1696302?v=3","gravatar_id":"","url":"https://api.github.com/users/sinhrks","html_url":"https://github.com/sinhrks","followers_url":"https://api.github.com/users/sinhrks/followers","following_url":"https://api.github.com/users/sinhrks/following{/other_user}","gists_url":"https://api.github.com/users/sinhrks/gists{/gist_id}","starred_url":"https://api.github.com/users/sinhrks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinhrks/subscriptions","organizations_url":"https://api.github.com/users/sinhrks/orgs","repos_url":"https://api.github.com/users/sinhrks/repos","events_url":"https://api.github.com/users/sinhrks/events{/privacy}","received_events_url":"https://api.github.com/users/sinhrks/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T05:44:32Z","updated_at":"2016-09-07T05:44:32Z","body":"@shoyer No, the spec has'nt changed for quite a while. ufunc is supported prior to #13853."}}
{"actor":{"display_login":"sinhrks"}}