Skip to content

Commit 992a530

Browse files
Jonathan Chamberswesm
Jonathan Chambers
authored andcommitted
DOC: added section for to_pydatetime method
added section in "Time series-related instance methods" to mention to_pydatetime method
1 parent d3b9999 commit 992a530

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/timeseries.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,12 @@ Filling forward / backward
563563
Related to ``asfreq`` and ``reindex`` is the ``fillna`` function documented in
564564
the :ref:`missing data section <missing_data.fillna>`.
565565

566+
Converting to Python datetimes
567+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
568+
569+
``DatetimeIndex`` can be converted to an array of Python native datetime.datetime objects using the
570+
``to_pydatetime`` method.
571+
566572
.. _timeseries.resampling:
567573

568574
Up- and downsampling

0 commit comments

Comments
 (0)