Skip to content

Commit 37aa8dd

Browse files
committed
comment with issue number
1 parent ab5214a commit 37aa8dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/dtypes/cast.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ def maybe_infer_to_datetimelike(value, convert_dates=False):
904904
def try_datetime(v):
905905
# safe coerce to datetime64
906906
try:
907+
# GH19671
907908
v = tslib.array_to_datetime(v,
908909
require_iso8601=True,
909910
errors='raise')
@@ -914,6 +915,7 @@ def try_datetime(v):
914915
# then these stay as object dtype
915916
try:
916917
from pandas import to_datetime
918+
# GH19671
917919
return to_datetime(v, require_iso8601=True)
918920
except Exception:
919921
pass

0 commit comments

Comments
 (0)