Skip to content

Commit 93bb9b2

Browse files
committed
okwarning in 0.20.0 doc
1 parent c021641 commit 93bb9b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/whatsnew/v0.20.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,15 @@ from where to compute the resulting timestamps when parsing numerical values wit
142142
For example, with 1960-01-01 as the starting date:
143143

144144
.. ipython:: python
145+
:okwarning:
145146
146147
pd.to_datetime([1, 2, 3], unit='D', origin=pd.Timestamp('1960-01-01'))
147148
148149
The default is set at ``origin='unix'``, which defaults to ``1970-01-01 00:00:00``, which is
149150
commonly called 'unix epoch' or POSIX time. This was the previous default, so this is a backward compatible change.
150151

151152
.. ipython:: python
153+
:okwarning:
152154
153155
pd.to_datetime([1, 2, 3], unit='D')
154156

0 commit comments

Comments
 (0)