{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/3524","labels_url":"https://api.github.com/repos/scipy/scipy/issues/3524/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/3524/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/3524/events","html_url":"https://github.com/scipy/scipy/pull/3524","id":30915608,"number":3524,"title":"ENH: sparse: add count_nonzero method","user":{"login":"larsmans","id":335383,"avatar_url":"https://avatars.githubusercontent.com/u/335383?v=3","gravatar_id":"","url":"https://api.github.com/users/larsmans","html_url":"https://github.com/larsmans","followers_url":"https://api.github.com/users/larsmans/followers","following_url":"https://api.github.com/users/larsmans/following{/other_user}","gists_url":"https://api.github.com/users/larsmans/gists{/gist_id}","starred_url":"https://api.github.com/users/larsmans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsmans/subscriptions","organizations_url":"https://api.github.com/users/larsmans/orgs","repos_url":"https://api.github.com/users/larsmans/repos","events_url":"https://api.github.com/users/larsmans/events{/privacy}","received_events_url":"https://api.github.com/users/larsmans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/scipy/scipy/labels/needs-work","name":"needs-work","color":"fbca04"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.sparse","name":"scipy.sparse","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-04-05T13:37:03Z","updated_at":"2015-07-13T09:49:41Z","closed_at":"2015-07-13T09:48:59Z","pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/3524","html_url":"https://github.com/scipy/scipy/pull/3524","diff_url":"https://github.com/scipy/scipy/pull/3524.diff","patch_url":"https://github.com/scipy/scipy/pull/3524.patch"},"body":"Here's a `count_nonzero` method for sparse matrices, as well as some better docs for `getnnz`, as discussed at #3343. It doesn't entirely fix that issue, and I'm not actually going to try to do that in a single PR.\r\n\r\nPing @argriffing, @chebee7i, @jnothman."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/120875509","html_url":"https://github.com/scipy/scipy/pull/3524#issuecomment-120875509","issue_url":"https://api.github.com/repos/scipy/scipy/issues/3524","id":120875509,"user":{"login":"larsmans","id":335383,"avatar_url":"https://avatars.githubusercontent.com/u/335383?v=3","gravatar_id":"","url":"https://api.github.com/users/larsmans","html_url":"https://github.com/larsmans","followers_url":"https://api.github.com/users/larsmans/followers","following_url":"https://api.github.com/users/larsmans/following{/other_user}","gists_url":"https://api.github.com/users/larsmans/gists{/gist_id}","starred_url":"https://api.github.com/users/larsmans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsmans/subscriptions","organizations_url":"https://api.github.com/users/larsmans/orgs","repos_url":"https://api.github.com/users/larsmans/repos","events_url":"https://api.github.com/users/larsmans/events{/privacy}","received_events_url":"https://api.github.com/users/larsmans/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T09:49:41Z","updated_at":"2015-07-13T09:49:41Z","body":"Closed this PR as I'm not going to finish it. If someone else wants to have a try, please submit a new PR."}}