Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for errors="ignore" in to_datetime, to_timedelta and to_numeric #57361

Merged
merged 11 commits into from
Feb 12, 2024

Conversation

phofl
Copy link
Member

@phofl phofl commented Feb 11, 2024

@mroeschke mroeschke added this to the 3.0 milestone Feb 12, 2024
@@ -90,7 +88,6 @@ def to_timedelta(
| Series,
unit: UnitChoices | None = None,
errors: DateTimeErrorChoices = "raise",
# returning Any for errors="ignore"
) -> Timedelta | TimedeltaIndex | Series | NaTType | Any:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the Any be removed then?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I tried that and all kinds of typing checks started failing

@mroeschke mroeschke merged commit 5673cc5 into pandas-dev:main Feb 12, 2024
50 of 51 checks passed
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the errors_ignore branch February 12, 2024 17:29
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…o_numeric (pandas-dev#57361)

* Remove support for errors="ignore" in to_datetime, to_timedelta and to_numeric

* Remove support for errors="ignore" in to_datetime, to_timedelta and to_numeric

* Update

* Fixup

* Fixup

* Update

* Update

* Update

* Fixup

* Revert

* Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants