Skip to content

Commit

Permalink
remove note
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Jan 8, 2025
1 parent 151e9cd commit 8ecda4e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/internals/time-coding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,6 @@ DatetimeIndex
:py:class:`pandas.DatetimeIndex` is used to wrap ``np.datetime64`` values or other datetime-likes when encoding. The resolution of the DatetimeIndex depends on the input, but can be only one of ``'s'``, ``'ms'``, ``'us'``, ``'ns'``. Lower resolution input is automatically converted to ``'s'``, higher resolution input is cut to ``'ns'``.
:py:class:`pandas.DatetimeIndex` will raise :py:class:`pandas.OutOfBoundsDatetime` if the input can't be represented in the given resolution.

.. note::
For xarray we assume that all :py:class:`numpy.datetime64` provided to :py:class:`pandas.DatetimeIndex` are up to the specs. This is especially true, when those values have been decoded upfront. If the data is provided by users, they should handle any issues before.

.. ipython:: python
try:
Expand Down

0 comments on commit 8ecda4e

Please sign in to comment.