Skip to content

Commit 6e4f10b

Browse files
authored
DOC: Fix typo in to_timedelta docs (#55952)
1 parent feca574 commit 6e4f10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/tools/timedeltas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def to_timedelta(
121121
* 'us' / 'microseconds' / 'microsecond' / 'micro' / 'micros' / 'U'
122122
* 'ns' / 'nanoseconds' / 'nano' / 'nanos' / 'nanosecond' / 'N'
123123
124-
Must not be specified when `arg` context strings and ``errors="raise"``.
124+
Must not be specified when `arg` contains strings and ``errors="raise"``.
125125
126126
.. deprecated:: 2.2.0
127127
Units 'H', 'T', 'S', 'L', 'U' and 'N' are deprecated and will be removed

0 commit comments

Comments
 (0)