Skip to content

Commit 095a2ef

Browse files
Fix DatetimeConverter to deal with input that cannot be handled by to_datetime
1 parent bb6b5e5 commit 095a2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tseries/converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def try_parse(values):
216216
else:
217217
values = [_dt_to_float_ordinal(x) for x in values]
218218
except Exception:
219-
pass
219+
values = [_dt_to_float_ordinal(x) for x in values]
220220

221221
return values
222222

0 commit comments

Comments
 (0)