Skip to content

DOC: Fixed implicit imports for whatsnew (v >= version 20.0) #24199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions doc/source/whatsnew/v0.23.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ What's New in 0.23.1 (June 12, 2018)

{{ header }}

.. ipython:: python
:suppress:

from pandas import * # noqa F401, F403


This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
and bug fixes. We recommend that all users upgrade to this version.
Expand Down Expand Up @@ -43,19 +38,20 @@ To summarize, here's the behavior in 0.22.0, 0.23.0, 0.23.1:
.. code-block:: python

# 0.22.0... Silently coerce the datetime.date
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
>>> import datetime
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
0 True
1 False
dtype: bool

# 0.23.0... Do not coerce the datetime.date
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
0 False
1 False
dtype: bool

# 0.23.1... Coerce the datetime.date with a warning
>>> Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
>>> pd.Series(pd.date_range('2017', periods=2)) == datetime.date(2017, 1, 1)
/bin/python:1: FutureWarning: Comparing Series of datetimes with 'datetime.date'. Currently, the
'datetime.date' is coerced to a datetime. In the future pandas will
not coerce, and the values not compare equal to the 'datetime.date'.
Expand Down
5 changes: 0 additions & 5 deletions doc/source/whatsnew/v0.23.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ What's New in 0.23.2 (July 5, 2018)

{{ header }}

.. ipython:: python
:suppress:

from pandas import * # noqa F401, F403


This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
and bug fixes. We recommend that all users upgrade to this version.
Expand Down
5 changes: 0 additions & 5 deletions doc/source/whatsnew/v0.23.4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ What's New in 0.23.4 (August 3, 2018)

{{ header }}

.. ipython:: python
:suppress:

from pandas import * # noqa F401, F403


This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
and bug fixes. We recommend that all users upgrade to this version.
Expand Down
5 changes: 0 additions & 5 deletions doc/source/whatsnew/v0.24.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ What's New in 0.24.0 (Month XX, 2018)

{{ header }}

.. ipython:: python
:suppress:

from pandas import * # noqa F401, F403


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