Skip to content

Commit 77a2ec7

Browse files
saurav-chakravortyPingviinituutti
authored andcommitted
DOC: Fixed implicit imports for whatsnew (v >= version 20.0) (pandas-dev#24199)
1 parent ec4a12e commit 77a2ec7

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

doc/source/whatsnew/v0.23.1.rst

+4-8
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ What's New in 0.23.1 (June 12, 2018)
55

66
{{ header }}
77

8-
.. ipython:: python
9-
:suppress:
10-
11-
from pandas import * # noqa F401, F403
12-
138

149
This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
1510
and bug fixes. We recommend that all users upgrade to this version.
@@ -43,19 +38,20 @@ To summarize, here's the behavior in 0.22.0, 0.23.0, 0.23.1:
4338
.. code-block:: python
4439
4540
# 0.22.0... Silently coerce the datetime.date
46-
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
41+
>>> import datetime
42+
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
4743
0 True
4844
1 False
4945
dtype: bool
5046
5147
# 0.23.0... Do not coerce the datetime.date
52-
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
48+
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
5349
0 False
5450
1 False
5551
dtype: bool
5652
5753
# 0.23.1... Coerce the datetime.date with a warning
58-
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
54+
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
5955
/bin/python:1: FutureWarning: Comparing Series of datetimes with 'datetime.date'. Currently, the
6056
'datetime.date' is coerced to a datetime. In the future pandas will
6157
not coerce, and the values not compare equal to the 'datetime.date'.

doc/source/whatsnew/v0.23.2.rst

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ What's New in 0.23.2 (July 5, 2018)
55

66
{{ header }}
77

8-
.. ipython:: python
9-
:suppress:
10-
11-
from pandas import * # noqa F401, F403
12-
138

149
This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
1510
and bug fixes. We recommend that all users upgrade to this version.

doc/source/whatsnew/v0.23.4.rst

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ What's New in 0.23.4 (August 3, 2018)
55

66
{{ header }}
77

8-
.. ipython:: python
9-
:suppress:
10-
11-
from pandas import * # noqa F401, F403
12-
138

149
This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
1510
and bug fixes. We recommend that all users upgrade to this version.

doc/source/whatsnew/v0.24.0.rst

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ What's New in 0.24.0 (Month XX, 2018)
1010

1111
{{ header }}
1212

13-
.. ipython:: python
14-
:suppress:
15-
16-
from pandas import * # noqa F401, F403
17-
1813

1914
These are the changes in pandas 0.24.0. See :ref:`release` for a full changelog
2015
including other versions of pandas.

0 commit comments

Comments
 (0)