Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Handling exceptions during datetime conversion

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pandas/core/arrays/datetimes.py", line 2192, in objects_to_datetime64ns
values, tz_parsed = conversion.datetime_to_datetime64(data.ravel("K"))
  File "pandas/_libs/tslibs/conversion.pyx", line 359, in pandas._libs.tslibs.conversion.datetime_to_datetime64
TypeError: Unrecognized value type: <class 'str'>

During handling of the above exception, another exception occurred:
Source by www.golinuxcloud.com #
 
PREVIOUS NEXT
Tagged: #Handling #exceptions #datetime #conversion
ADD COMMENT
Topic
Name
7+9 =