79769227

Date: 2025-09-19 07:24:58
Score: 1
Natty:
Report link

You may want to except ValueError instead.

DateParseError inherits ValueErrorand for some cases, pd.to_datetimethrows ValueError and not DateParseError. For example pd.to_datetime("123")

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mhh