Skip to content

Commit 542851d

Browse files
committed
Documentation fixes
1 parent f56128d commit 542851d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/tools/datetimes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,11 +814,12 @@ def to_datetime(
814814
(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
817-
``errors='coerce'``).
817+
``errors='coerce'``).
818818
- 0.0: any invalid component produces NaT, else returns a valid datetime.
819819
- Values between 0 and 1: if all components are valid, returns a valid
820820
datetime; if the fraction of valid components >= threshold, returns NaT;
821821
otherwise raises error.
822+
822823
Returns
823824
-------
824825
datetime

0 commit comments

Comments
 (0)