We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b8b610 commit b6a1ee5Copy full SHA for b6a1ee5
pandas/core/tools/timedeltas.py
@@ -93,7 +93,7 @@ def to_timedelta(arg, unit=None, errors="raise"):
93
unit = parse_timedelta_unit(unit)
94
95
if errors not in ("ignore", "raise", "coerce"):
96
- raise ValueError("errors must be one of 'ignore', 'raise', or 'coerce'}")
+ raise ValueError("errors must be one of 'ignore', 'raise', or 'coerce'.")
97
98
if unit in {"Y", "y", "M"}:
99
raise ValueError(
0 commit comments