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/6755 below:

improve to_timedelta perf for string-like · Issue #6755 · pandas-dev/pandas · GitHub

see #6754
related #3009, #8190
from SO

convering string like timedeltas, e.g.

'1 days', '3 days, 00:00:03', '3 days 2 hours'

is slow because it requires a regex match for each element. Can put cythonized (like format parsing for datetimes), or since only very limited formats supported can simply test them (in cython) and convert.


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