Skip to content

Commit e9a1de4

Browse files
Fix typo found by codespell (#10601)
1 parent 68fd2ee commit e9a1de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/internals/time-coding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Timestamp
205205

206206
When arguments are numeric (not strings) "unit" can be anything from ``'Y'``, ``'W'``, ``'D'``, ``'h'``, ``'m'``, ``'s'``, ``'ms'``, ``'us'`` or ``'ns'``, though the returned resolution will be ``"ns"``.
207207

208-
In normal operation :py:class:`pandas.Timestamp` holds the timestamp in the provided resolution, but only one of ``'s'``, ``'ms'``, ``'us'``, ``'ns'``. Lower resolution input is automatically converted to ``'s'``, higher resolution input is cutted to ``'ns'``.
208+
In normal operation :py:class:`pandas.Timestamp` holds the timestamp in the provided resolution, but only one of ``'s'``, ``'ms'``, ``'us'``, ``'ns'``. Lower resolution input is automatically converted to ``'s'``, higher resolution input is truncated to ``'ns'``.
209209

210210
The same conversion rules apply here as for :py:func:`pandas.to_timedelta` (see `to_timedelta`_).
211211
Depending on the internal resolution Timestamps can be represented in the range:

0 commit comments

Comments
 (0)