Skip to content

API: change default in to_datetime for errors to 'raise' #10636

Closed
@jreback

Description

@jreback

xref #8894
xref #10615
xref #10154

The idea is that if you have completely unparseable dates with or w/o a format specified, then the default will be to raise. Further, since coerce is by default False. You will get an immediate exception rather than have strings returned.

I think some tests will need to be adjusted and a simple example for the user in the whatsnew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions