Skip to content

Commit acdbc41

Browse files
committed
Minor documentation update
1 parent 7fafd4a commit acdbc41

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
@@ -804,10 +804,10 @@ def to_datetime(
804804
parsing.
805805
threshold : float
806806
Minimum fraction of valid datetime components required to consider parsing
807-
successful. Components include year, month, day, hour, minute, and second
808-
if present in the input. An invalid component has too many or too few digits
809-
or a number outside the possible range (e.g., month outside [1, 12]). Behavior
810-
depends on the threshold:
807+
successful. Must be between 0.0 and 1.0. Components include year, month,
808+
day, hour, minute, and second if present in the input. An invalid component
809+
has too many or too few digits or a number outside the possible range
810+
(e.g., month outside [1, 12]). Behavior depends on the threshold:
811811
812812
- 1.0 (default): all components must be valid, else raises error (unless
813813
``errors='coerce'``).

0 commit comments

Comments
 (0)