{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/5740","labels_url":"https://api.github.com/repos/scipy/scipy/issues/5740/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/5740/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/5740/events","html_url":"https://github.com/scipy/scipy/issues/5740","id":127569676,"number":5740,"title":"scipy.sparse.dok_matrix has no method iteritems()","user":{"login":"mountaindust","id":4951214,"avatar_url":"https://avatars.githubusercontent.com/u/4951214?v=3","gravatar_id":"","url":"https://api.github.com/users/mountaindust","html_url":"https://github.com/mountaindust","followers_url":"https://api.github.com/users/mountaindust/followers","following_url":"https://api.github.com/users/mountaindust/following{/other_user}","gists_url":"https://api.github.com/users/mountaindust/gists{/gist_id}","starred_url":"https://api.github.com/users/mountaindust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mountaindust/subscriptions","organizations_url":"https://api.github.com/users/mountaindust/orgs","repos_url":"https://api.github.com/users/mountaindust/repos","events_url":"https://api.github.com/users/mountaindust/events{/privacy}","received_events_url":"https://api.github.com/users/mountaindust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-19T23:57:19Z","updated_at":"2016-01-21T17:15:20Z","closed_at":null,"body":"Scipy documentation lists scipy.sparse.dok_matrix as having three methods that return iterators:\r\n- iteritems()\r\n- iterkeys()\r\n- itervalues() \r\n\r\nNone of these seem to exist. Example:\r\n```\r\nfrom scipy import sparse\r\nA = np.random.rand(100,100)\r\nAs = sparse.dok_matrix(A)\r\nAs.iteritems() #<------ This raises an AttributeError: iteritems not found.\r\n```"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/173641491","html_url":"https://github.com/scipy/scipy/issues/5740#issuecomment-173641491","issue_url":"https://api.github.com/repos/scipy/scipy/issues/5740","id":173641491,"user":{"login":"mountaindust","id":4951214,"avatar_url":"https://avatars.githubusercontent.com/u/4951214?v=3","gravatar_id":"","url":"https://api.github.com/users/mountaindust","html_url":"https://github.com/mountaindust","followers_url":"https://api.github.com/users/mountaindust/followers","following_url":"https://api.github.com/users/mountaindust/following{/other_user}","gists_url":"https://api.github.com/users/mountaindust/gists{/gist_id}","starred_url":"https://api.github.com/users/mountaindust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mountaindust/subscriptions","organizations_url":"https://api.github.com/users/mountaindust/orgs","repos_url":"https://api.github.com/users/mountaindust/repos","events_url":"https://api.github.com/users/mountaindust/events{/privacy}","received_events_url":"https://api.github.com/users/mountaindust/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T17:15:20Z","updated_at":"2016-01-21T17:15:20Z","body":"I'm using Python 3.5.1."}}