{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/9838","labels_url":"https://api.github.com/repos/pydata/pandas/issues/9838/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/9838/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/9838/events","html_url":"https://github.com/pydata/pandas/pull/9838","id":67265081,"number":9838,"title":"BUG: DataFrame.where does not respect axis parameter when shape is symmetric","user":{"login":"evanpw","id":1621449,"avatar_url":"https://avatars.githubusercontent.com/u/1621449?v=3","gravatar_id":"","url":"https://api.github.com/users/evanpw","html_url":"https://github.com/evanpw","followers_url":"https://api.github.com/users/evanpw/followers","following_url":"https://api.github.com/users/evanpw/following{/other_user}","gists_url":"https://api.github.com/users/evanpw/gists{/gist_id}","starred_url":"https://api.github.com/users/evanpw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanpw/subscriptions","organizations_url":"https://api.github.com/users/evanpw/orgs","repos_url":"https://api.github.com/users/evanpw/repos","events_url":"https://api.github.com/users/evanpw/events{/privacy}","received_events_url":"https://api.github.com/users/evanpw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Reshaping","name":"Reshaping","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/34","html_url":"https://github.com/pydata/pandas/milestones/0.17.0","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/34/labels","id":1033710,"number":34,"title":"0.17.0","description":"","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":127,"closed_issues":288,"state":"open","created_at":"2015-03-23T10:47:38Z","updated_at":"2015-08-18T11:20:12Z","due_on":"2015-08-31T04:00:00Z","closed_at":null},"comments":9,"created_at":"2015-04-09T02:29:07Z","updated_at":"2015-08-18T11:20:12Z","closed_at":"2015-08-18T11:20:12Z","pull_request":{"url":"https://api.github.com/repos/pydata/pandas/pulls/9838","html_url":"https://github.com/pydata/pandas/pull/9838","diff_url":"https://github.com/pydata/pandas/pull/9838.diff","patch_url":"https://github.com/pydata/pandas/pull/9838.patch"},"body":"Fixes GH #9736.\r\n\r\nThe problem was that at the ``Block`` level, ``where`` and ``putmask`` did a lot of guessing about how the block and the other parameters needed to be transposed in order to align correctly. It guessed wrongly when the DataFrame was symmetric because the shapes match up in both directions. This change tries to make everything explicit and remove the guessing."},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/132176513","html_url":"https://github.com/pydata/pandas/pull/9838#issuecomment-132176513","issue_url":"https://api.github.com/repos/pydata/pandas/issues/9838","id":132176513,"user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T11:20:12Z","updated_at":"2015-08-18T11:20:12Z","body":"merged via https://github.com/pydata/pandas/commit/931e0e5596e5714ecab5665d10735c155a2313f7\r\n\r\n\r\nthanks!"}}