{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/12745","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/12745/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/12745/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/12745/events","html_url":"https://github.com/pydata/pandas/pull/12745","id":144534832,"number":12745,"title":"WIP: PERF: Improve replace perf","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},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Performance","name":"Performance","color":"a10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-30T10:13:47Z","updated_at":"2016-05-21T01:41:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pydata/pandas/pulls/12745","html_url":"https://github.com/pydata/pandas/pull/12745","diff_url":"https://github.com/pydata/pandas/pull/12745.diff","patch_url":"https://github.com/pydata/pandas/pull/12745.patch"},"body":"- [x] tests added / passed\r\n- [x] passes ``git diff upstream/master | flake8 --diff``\r\n- [x] whatsnew entry\r\n\r\nWhen ``.replace`` is called with ``dict``, replacements are done per value. Current impl try to soft convert the dtype in every replacement, but it is enough to be done in the final replacement.\r\n\r\n#### Bench\r\n\r\n```\r\n-  712.83ms   355.93ms      0.50  replace.replace_convert.time_replace_series_timestamp\r\n-     1.50s   698.21ms      0.46  replace.replace_convert.time_replace_frame_timestamp\r\n-     3.12s   690.48ms      0.22  replace.replace_convert.time_replace_frame_timedelta\r\n-     1.69s   354.83ms      0.21  replace.replace_convert.time_replace_series_timedelta\r\n```"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/220751805","html_url":"https://github.com/pydata/pandas/pull/12745#issuecomment-220751805","issue_url":"https://api.github.com/repos/pydata/pandas/issues/12745","id":220751805,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T01:41:04Z","updated_at":"2016-05-21T01:41:04Z","body":"## [Current coverage][cc-pull] is **83.73%**\n> Merging [#12745][cc-pull] into [master][cc-base-branch] will decrease coverage by **0.45%**\n\n```diff\n@@             master   #12745   diff @@\n========================================\n  Files           138      134      -4   \n  Lines         50484    49504    -980   \n  Methods           0        0           \n  Branches          0        0           \n========================================\n- Hits          42497    41454   -1043   \n- Misses         7987     8050     +63   \n  Partials          0        0           \n```\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last updated by [8e2f70b...e826ef2][cc-compare]\n[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr\n[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/8e2f70b749185ebbde4bfc9a09adee1cc2bb47d1...e826ef23b13d442fbe2cf441905b5484db1ac628\n[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/12745?src=pr"}}
{"actor":{"display_login":"codecov-io"}}