Skip to content

Commit 3c84882

Browse files
committed
whatsnew update
1 parent 8dc4e7f commit 3c84882

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

doc/source/whatsnew/v0.23.0.txt

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -777,44 +777,6 @@ Note that this change also applies to :meth:`DataFrame.append`, which has also r
777777

778778
.. _whatsnew_0230.api_breaking.build_changes:
779779

780-
.. _whatsnew_0230.api_breaking.end_time:
781-
782-
Time values in ``dt.end_time`` and ``to_timestamp(how='end')``
783-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
784-
785-
The time values in :class:`Period` and :class:`PeriodIndex` objects are now set
786-
to '23:59:59.999999999' when calling :attr:`Series.dt.end_time`, :attr:`Period.end_time`,
787-
:attr:`PeriodIndex.end_time`, :func:`Period.to_timestamp()` with ``how='end'``,
788-
or :func:`PeriodIndex.to_timestamp()` with ``how='end'`` (:issue:`17157`)
789-
790-
Previous Behavior:
791-
792-
.. code-block:: ipython
793-
794-
In [2]: p = pd.Period('2017-01-01', 'D')
795-
In [3]: pi = pd.PeriodIndex([p])
796-
797-
In [4]: pd.Series(p).dt.end_time[0]
798-
Out[4]: Timestamp(2017-01-01 00:00:00)
799-
800-
In [5]: pi.end_time[0]
801-
Out[5]: Timestamp(2017-01-01 00:00:00)
802-
803-
In [6]: pi.to_timestamp(how='end')
804-
Out[6]: Timestamp(2017-01-01 00:00:00)
805-
806-
.. ipython:: python
807-
808-
p = pd.Period('2017-01-01', 'D')
809-
pi = pd.PeriodIndex([p])
810-
811-
pd.Series(p).dt.end_time[0]
812-
813-
pi.end_time[0]
814-
815-
pi.to_timestamp(how='end')
816-
817-
818780
Build Changes
819781
^^^^^^^^^^^^^
820782

0 commit comments

Comments
 (0)