Skip to content

Commit 7f85dd7

Browse files
committed
Minor documentation update
1 parent 0ff86d6 commit 7f85dd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/tools/datetimes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,10 +808,10 @@ def to_datetime(
808808
parsing.
809809
threshold : float
810810
Minimum fraction of valid datetime components required to consider parsing
811-
successful. Components include year, month, day, hour, minute, and second
812-
if present in the input. An invalid component has too many or too few digits
813-
or a number outside the possible range (e.g., month outside [1, 12]). Behavior
814-
depends on the threshold:
811+
successful. Must be between 0.0 and 1.0. Components include year, month,
812+
day, hour, minute, and second if present in the input. An invalid component
813+
has too many or too few digits or a number outside the possible range
814+
(e.g., month outside [1, 12]). Behavior depends on the threshold:
815815
816816
- 1.0 (default): all components must be valid, else raises error (unless
817817
``errors='coerce'``).

0 commit comments

Comments
 (0)