{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/10720","labels_url":"https://api.github.com/repos/pydata/pandas/issues/10720/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/10720/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/10720/events","html_url":"https://github.com/pydata/pandas/issues/10720","id":98546859,"number":10720,"title":"DOC/ERR: better error message on unsuccessful datetime parsing","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},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Difficulty%20Novice","name":"Difficulty Novice","color":"fbca04"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Effort%20Low","name":"Effort Low","color":"006b75"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Error%20Reporting","name":"Error Reporting","color":"ffa0ff"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Timedelta","name":"Timedelta","color":"5319e7"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Timeseries","name":"Timeseries","color":"AFEEEE"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/32","html_url":"https://github.com/pydata/pandas/milestones/Next%20Major%20Release","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/32/labels","id":933188,"number":32,"title":"Next Major Release","description":"after 0.16.1 of course","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":816,"closed_issues":61,"state":"open","created_at":"2015-01-13T10:53:19Z","updated_at":"2015-08-11T22:28:19Z","due_on":"2015-11-30T05:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-01T16:01:55Z","updated_at":"2015-08-11T22:45:51Z","closed_at":null,"body":"exceptions that are raised on unsuccessful datetime/timedelta parsing should add this:\r\n\r\n``you can coerce to NaT by passing errors='coerce'``\r\n\r\ncomment at the end: https://github.com/pydata/pandas/pull/10674"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/130101005","html_url":"https://github.com/pydata/pandas/issues/10720#issuecomment-130101005","issue_url":"https://api.github.com/repos/pydata/pandas/issues/10720","id":130101005,"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-11T22:45:51Z","updated_at":"2015-08-11T22:45:51Z","body":"@springcoil so there are lots of tests that assert errors using ``to_datetime``. Ideallly would go thru those and see what they produce, and fix those that are not either context sensitive (e.g. maybe can give a more informative message), and also add that you can pass ``error='coerce'`` to get a ``NaT`` if desired.\r\n\r\nmost of these tests are in ``tseries/tests/test_timeseries.py``"}}