A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/54467 below:

deprecate errors='ignore' in to_datetime and make output dtype predictable · Issue #54467 · pandas-dev/pandas · GitHub

Feature Type Problem Description

currently, if you do to_datetime(inputs), you don't really know what the dtype of the output will be. It could be Index or DatetimeIndex

Deprecating parsing mixed offsets goes part of the way to addressing this

Feature Description

Can we go all the way there, and deprecate errors='ignore'? Then, if the computation succeeds, then you get DatetimeIndex (potentially with some NaTs if errors='coerce')

Alternative Solutions

none that I can think of

Additional Context

there's talk about query optimisation in pandas, and greater predictability should help with that


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4