Skip to content

Commit 188b4af

Browse files
Zemux1613phofl
authored andcommitted
feat: add exception (#56095)
1 parent 82d7889 commit 188b4af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/arrays/datetimes.py

+1
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,7 @@ def objects_to_datetime64(
23792379
Raises
23802380
------
23812381
ValueError : if data cannot be converted to datetimes
2382+
TypeError : When a type cannot be converted to datetime
23822383
"""
23832384
assert errors in ["raise", "ignore", "coerce"]
23842385

0 commit comments

Comments
 (0)