Skip to content

Commit 09115c6

Browse files
committed
changed formatting for 'parse_datetime_string' call in tslib.pyx
1 parent 1233eb4 commit 09115c6

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
@@ -601,11 +601,9 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
601601
return values, tz_out
602602

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

0 commit comments

Comments
 (0)