Skip to content

Commit 77050d3

Browse files
DOC/CI: add missing import to ipython directive in whatsnew/v0.11.0.rst (#40937)
Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent 1b48287 commit 77050d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/whatsnew/v0.11.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ Astype conversion on ``datetime64[ns]`` to ``object``, implicitly converts ``NaT
306306

307307
.. ipython:: python
308308
309+
import datetime
309310
s = pd.Series([datetime.datetime(2001, 1, 2, 0, 0) for i in range(3)])
310311
s.dtype
311312
s[1] = np.nan

0 commit comments

Comments
 (0)