Skip to content

Commit cab4df8

Browse files
committed
changed formatting for 'parse_datetime_string' call in tslib.pyx
1 parent bec5b3f commit cab4df8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pandas/_libs/tslib.pyx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,9 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
602602
return values, tz_out
603603

604604
try:
605-
py_dt = parse_datetime_string(
606-
val,
607-
dayfirst=dayfirst,
608-
yearfirst=yearfirst
609-
)
605+
py_dt = parse_datetime_string(val,
606+
dayfirst=dayfirst,
607+
yearfirst=yearfirst)
610608
except Exception:
611609
if is_coerce:
612610
iresult[i] = NPY_NAT

0 commit comments

Comments
 (0)