We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cdb200 commit 8a11b2cCopy full SHA for 8a11b2c
pandas/_libs/tslib.pyx
@@ -655,16 +655,6 @@ cpdef array_to_datetime(
655
_ts = convert_datetime_to_tsobject(py_dt, None)
656
iresult[i] = _ts.value
657
if not string_to_dts_failed:
658
- if require_iso8601:
659
- if is_coerce:
660
- iresult[i] = NPY_NAT
661
- continue
662
- elif is_raise:
663
- raise ValueError(
664
- f"time data \"{val}\" at position {i} doesn't "
665
- f"match format \"{format}\""
666
- )
667
- return values, tz_out
668
# No error reported by string_to_dts, pick back up
669
# where we left off
670
value = npy_datetimestruct_to_datetime(NPY_FR_ns, &dts)
0 commit comments