Skip to content

Commit ada6bf3

Browse files
yui-knkjorisvandenbossche
authored andcommitted
DOC: fix a keyword coerce in array_to_timedelta64 (#13686)
1 parent 76d7e77 commit ada6bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tslib.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ cdef inline bint is_timedelta(object o):
30283028

30293029
def array_to_timedelta64(ndarray[object] values, unit='ns', errors='raise'):
30303030
""" convert an ndarray to an array of ints that are timedeltas
3031-
force conversion if coerce = True,
3031+
force conversion if errors = 'coerce',
30323032
else will raise if cannot convert """
30333033
cdef:
30343034
Py_ssize_t i, n

0 commit comments

Comments
 (0)